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 0de11bef3e5fcc7be44598ed03afdbebbee0b435..3a0071f4245e9a3af187c686b29ddb971e25f4ff 100644 |
--- a/content/common/gpu/media/gpu_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc |
@@ -341,8 +341,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> |