| Index: content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.cc b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| index bda467b555e6a73db7415f8bdadd4d0a20135a7a..3bcfe211bc1861f01018c621378200aa12bff35b 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| @@ -292,9 +292,8 @@ VaapiPicture* VaapiVideoDecodeAccelerator::PictureById(
|
| }
|
|
|
| VaapiVideoDecodeAccelerator::VaapiVideoDecodeAccelerator(
|
| - const base::Callback<bool(void)>& make_context_current,
|
| - const base::Callback<void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>&
|
| - bind_image)
|
| + const MakeContextCurrentCallback& make_context_current,
|
| + const BindImageCallback& bind_image)
|
| : make_context_current_(make_context_current),
|
| state_(kUninitialized),
|
| input_ready_(&lock_),
|
| @@ -750,7 +749,7 @@ void VaapiVideoDecodeAccelerator::AssignPictureBuffers(
|
| if (image) {
|
| DCHECK_LE(1u, buffers[i].internal_texture_ids().size());
|
| bind_image_.Run(buffers[i].internal_texture_ids()[0],
|
| - VaapiPicture::GetGLTextureTarget(), image);
|
| + VaapiPicture::GetGLTextureTarget(), image, true);
|
| }
|
|
|
| RETURN_AND_NOTIFY_ON_FAILURE(
|
|
|