Index: media/gpu/avda_codec_image.cc |
diff --git a/media/gpu/avda_codec_image.cc b/media/gpu/avda_codec_image.cc |
index 70b6e47fc5beb1273822f74fe1d155a6da36cd89..e89d4cb35e91441822ecbf02a89a081b01edba59 100644 |
--- a/media/gpu/avda_codec_image.cc |
+++ b/media/gpu/avda_codec_image.cc |
@@ -84,8 +84,9 @@ bool AVDACodecImage::CopyTexImage(unsigned target) { |
// CopyTexImage() is called each time the surface texture is used for drawing. |
// It would be nice if we could do this via asking for the currently bound |
// Texture, but the active unit never seems to change. |
- texture_->SetLevelStreamTextureImage(GL_TEXTURE_EXTERNAL_OES, 0, this, |
- gpu::gles2::Texture::UNBOUND); |
+ texture_->SetLevelStreamTextureImage( |
+ GL_TEXTURE_EXTERNAL_OES, 0, this, gpu::gles2::Texture::UNBOUND, |
+ shared_state_->surface_texture_service_id()); |
return true; |
} |