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..a5372094ea755a4d0416923640c32e1e69d8569a 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -358,8 +358,8 @@ void AndroidVideoDecodeAccelerator::SendCurrentSurfaceToClient( |
// 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(), |
+ surface_texture_id_, picture_buffer_texture_id, |
+ 0, GL_RGBA, size_.width(), |
size_.height(), false, false, false); |
base::MessageLoop::current()->PostTask( |