| 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 eb8ddca966e2980454213dc2ab9078a57a3afda3..de3888de780bce842204ad01c21ff938d0f452b9 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.cc
|
| @@ -400,11 +400,16 @@ 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_,
|
| - GL_TEXTURE_2D, picture_buffer_texture_id, GL_RGBA, GL_UNSIGNED_BYTE,
|
| - size_.width(), size_.height(), false, false, false, nullptr,
|
| - default_matrix);
|
| + 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);
|
|
|
| // TODO(henryhsu): Pass (0, 0) as visible size will cause several test
|
| // cases failed. We should make sure |size_| is coded size or visible size.
|
|
|