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 06d59863d049cacd6c03b22a0ebbf0e908d9755e..a70d0bb1d9c089072bfaf85caf95c743f06c5503 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/android_video_decode_accelerator.cc |
@@ -360,16 +360,10 @@ void AndroidVideoDecodeAccelerator::SendCurrentSurfaceToClient( |
0.0f, 1.0f, 0.0f, 0.0f, |
0.0f, 0.0f, 1.0f, 0.0f, |
0.0f, 0.0f, 0.0f, 1.0f}; |
- copier_->DoCopyTextureWithTransform(gl_decoder_.get(), |
- GL_TEXTURE_EXTERNAL_OES, |
- surface_texture_id_, |
- picture_buffer_texture_id, |
- size_.width(), |
- size_.height(), |
- false, |
- false, |
- false, |
- default_matrix); |
+ copier_->DoCopyTextureWithTransform( |
+ gl_decoder_.get(), GL_TEXTURE_EXTERNAL_OES, surface_texture_id_, |
+ GL_TEXTURE_2D, picture_buffer_texture_id, GL_RGBA, GL_UNSIGNED_BYTE, |
+ size_.width(), size_.height(), false, false, false, true, default_matrix); |
base::MessageLoop::current()->PostTask( |
FROM_HERE, base::Bind(&AndroidVideoDecodeAccelerator::NotifyPictureReady, |