| Index: media/video/video_decode_accelerator.h
|
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
|
| index 5212db2c48812bd31d456d2dbf7b65a1447c50ea..be5042ab0505c6e6cb6cd70004f3f373213dd2de 100644
|
| --- a/media/video/video_decode_accelerator.h
|
| +++ b/media/video/video_decode_accelerator.h
|
| @@ -85,10 +85,12 @@ class MEDIA_EXPORT VideoDecodeAccelerator
|
|
|
| // Initializes the video decoder with specific configuration.
|
| // Parameters:
|
| + // |client| is the client of this video decoder. The provided pointer must
|
| + // be valid until Destroy() is called.
|
| // |profile| is the video stream's format profile.
|
| //
|
| // Returns true when command successfully accepted. Otherwise false.
|
| - virtual bool Initialize(VideoCodecProfile profile) = 0;
|
| + virtual bool Initialize(Client* client, VideoCodecProfile profile) = 0;
|
|
|
| // Decodes given bitstream buffer that contains at most one frame. Once
|
| // decoder is done with processing |bitstream_buffer| it will call
|
|
|