Index: content/common/gpu/media/gpu_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
index 52054046105d2c349d34bc92b00f5a2d933e393e..7945ce03e2eacbb4294f0567bddefb9e9ed0e65e 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -340,8 +340,10 @@ void GpuVideoDecodeAccelerator::BindImage(uint32 client_texture_id, |
gpu::gles2::TextureManager* texture_manager = |
command_decoder->GetContextGroup()->texture_manager(); |
gpu::gles2::TextureRef* ref = texture_manager->GetTexture(client_texture_id); |
- if (ref) |
- texture_manager->SetLevelImage(ref, texture_target, 0, image.get()); |
+ if (ref) { |
+ texture_manager->SetLevelImage(ref, texture_target, 0, image.get(), |
+ gpu::gles2::Texture::BOUND); |
+ } |
} |
scoped_ptr<media::VideoDecodeAccelerator> |