Index: content/common/gpu/media/android_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/android_video_decode_accelerator.cc b/content/common/gpu/media/android_video_decode_accelerator.cc |
index f72e1b257d77c8bc9f5c243ab2f1e34d5faad042..8ce076f2f7599fb0f1c13d694e6caa34d50ab4cc 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -357,10 +357,17 @@ void AndroidVideoDecodeAccelerator::SendCurrentSurfaceToClient( |
// attached. |
// 2. SurfaceTexture requires us to apply a transform matrix when we show |
// the texture. |
- copier_->DoCopyTexture(gl_decoder_.get(), GL_TEXTURE_EXTERNAL_OES, |
- GL_TEXTURE_2D, surface_texture_id_, |
- picture_buffer_texture_id, 0, size_.width(), |
- size_.height(), false, false, false); |
+ copier_->DoCopyTexture(gl_decoder_.get(), |
+ GL_TEXTURE_EXTERNAL_OES, |
+ surface_texture_id_, |
+ picture_buffer_texture_id, |
+ 0, |
+ GL_RGBA, |
+ size_.width(), |
+ size_.height(), |
+ false, |
+ false, |
+ false); |
base::MessageLoop::current()->PostTask( |
FROM_HERE, |