| Index: content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.h b/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| index 268439b96bc4dad249401bf99f5570dda48862bc..7e82476e98a3c84d5cc63939701a1b14b0d3b543 100644
|
| --- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
|
| @@ -57,7 +57,10 @@ class CONTENT_EXPORT VaapiVideoDecodeAccelerator
|
| ~VaapiVideoDecodeAccelerator() override;
|
|
|
| // media::VideoDecodeAccelerator implementation.
|
| - bool Initialize(media::VideoCodecProfile profile, Client* client) override;
|
| + bool Initialize(
|
| + media::VideoCodecProfile profile,
|
| + uint32 min_picture_count,
|
| + Client* client) override;
|
| void Decode(const media::BitstreamBuffer& bitstream_buffer) override;
|
| void AssignPictureBuffers(
|
| const std::vector<media::PictureBuffer>& buffers) override;
|
| @@ -299,6 +302,9 @@ class CONTENT_EXPORT VaapiVideoDecodeAccelerator
|
| size_t requested_num_pics_;
|
| gfx::Size requested_pic_size_;
|
|
|
| + // The minimum picture buffer count to allocate.
|
| + uint32 min_picture_count_;
|
| +
|
| // Binds the provided GLImage to a givenr client texture ID & texture target
|
| // combination in GLES.
|
| base::Callback<void(uint32, uint32, scoped_refptr<gfx::GLImage>)> bind_image_;
|
|
|