| Index: content/common/gpu/media/android_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
|
| index d5bacfd9af136c4e25111191d92d783629ab355c..221b4df69fb670e830d3665edc3b9472e1041f23 100644
|
| --- a/content/common/gpu/media/android_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/android_video_decode_accelerator.h
|
| @@ -37,7 +37,10 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
|
| const base::Callback<bool(void)>& make_context_current);
|
|
|
| // 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;
|
| @@ -104,6 +107,9 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
|
| // To expose client callbacks from VideoDecodeAccelerator.
|
| Client* client_;
|
|
|
| + // The number of picture buffers to allocate.
|
| + uint32 num_picture_buffers_;
|
| +
|
| // Callback to set the correct gl context.
|
| base::Callback<bool(void)> make_context_current_;
|
|
|
|
|