| Index: media/video/video_decode_accelerator.h
|
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
|
| index 53e18a786d569a4ce6565cd43eb795ab545cf186..4371a5404949afa6fc6b05bae62c510f17556a9d 100644
|
| --- a/media/video/video_decode_accelerator.h
|
| +++ b/media/video/video_decode_accelerator.h
|
| @@ -97,9 +97,14 @@ class MEDIA_EXPORT VideoDecodeAccelerator {
|
| // initialization is successful.
|
| // Parameters:
|
| // |profile| is the video stream's format profile.
|
| + // |min_picture_count| is the minimum number of picture buffers needed for
|
| + // playback. The decoder should allocate at least this number.
|
| // |client| is the client of this video decoder. The provided pointer must
|
| // be valid until Destroy() is called.
|
| - virtual bool Initialize(VideoCodecProfile profile, Client* client) = 0;
|
| + virtual bool Initialize(
|
| + VideoCodecProfile profile,
|
| + uint32 min_picture_count,
|
| + Client* client) = 0;
|
|
|
| // Decodes given bitstream buffer that contains at most one frame. Once
|
| // decoder is done with processing |bitstream_buffer| it will call
|
|
|