| 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 2ede6785e5fd7956c0ab0c8a642736c17dc425a4..147ac53e71e66fcb2917d1b5784ee5f37232f048 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.cc
|
| @@ -292,8 +292,9 @@
|
| }
|
|
|
| VaapiVideoDecodeAccelerator::VaapiVideoDecodeAccelerator(
|
| - const MakeContextCurrentCallback& make_context_current,
|
| - const BindImageCallback& bind_image)
|
| + const base::Callback<bool(void)>& make_context_current,
|
| + const base::Callback<void(uint32_t, uint32_t, scoped_refptr<gl::GLImage>)>&
|
| + bind_image)
|
| : make_context_current_(make_context_current),
|
| state_(kUninitialized),
|
| input_ready_(&lock_),
|
| @@ -747,7 +748,7 @@
|
| scoped_refptr<gl::GLImage> image = picture->GetImageToBind();
|
| if (image) {
|
| bind_image_.Run(buffers[i].internal_texture_id(),
|
| - VaapiPicture::GetGLTextureTarget(), image, true);
|
| + VaapiPicture::GetGLTextureTarget(), image);
|
| }
|
|
|
| RETURN_AND_NOTIFY_ON_FAILURE(
|
|
|