| 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 9eccdc65e0440ab49d2bdcb479e2e670382960ea..68bdb46db3d51e7e263fd2a00be213989562ee87 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.cc
|
| @@ -791,7 +791,7 @@ void AndroidVideoDecodeAccelerator::DecodeBuffer(
|
| }
|
|
|
| void AndroidVideoDecodeAccelerator::RequestPictureBuffers() {
|
| - client_->ProvidePictureBuffers(kNumPictureBuffers, size_,
|
| + client_->ProvidePictureBuffers(kNumPictureBuffers, 1, size_,
|
| strategy_->GetTextureTarget());
|
| }
|
|
|
| @@ -1046,7 +1046,7 @@ gpu::gles2::TextureRef* AndroidVideoDecodeAccelerator::GetTextureForPicture(
|
| RETURN_ON_FAILURE(this, texture_manager, "Null texture_manager",
|
| ILLEGAL_STATE, nullptr);
|
| gpu::gles2::TextureRef* texture_ref =
|
| - texture_manager->GetTexture(picture_buffer.internal_texture_id());
|
| + texture_manager->GetTexture(picture_buffer.internal_texture_ids().ids[0]);
|
| RETURN_ON_FAILURE(this, texture_manager, "Null texture_ref", ILLEGAL_STATE,
|
| nullptr);
|
|
|
|
|