Index: media/video/video_encode_accelerator.h |
diff --git a/media/video/video_encode_accelerator.h b/media/video/video_encode_accelerator.h |
index f713d1754562ef5ed55fb88d3b814706e3a10ac3..3cb08c28165c5331ca08e52b90de86e5900cb52b 100644 |
--- a/media/video/video_encode_accelerator.h |
+++ b/media/video/video_encode_accelerator.h |
@@ -97,6 +97,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
// Initialize the video encoder with a specific configuration. Called once |
// per encoder construction. |
// Parameters: |
+ // |client| is the client of this video encoder. The provided pointer must |
+ // be valid until Destroy() is called. |
// |input_format| is the frame format of the input stream (as would be |
// reported by VideoFrame::format() for frames passed to Encode()). |
// |input_visible_size| is the resolution of the input stream (as would be |
@@ -106,7 +108,8 @@ class MEDIA_EXPORT VideoEncodeAccelerator { |
// |initial_bitrate| is the initial bitrate of the encoded output stream, |
// in bits per second. |
// TODO(sheu): handle resolution changes. http://crbug.com/249944 |
- virtual void Initialize(media::VideoFrame::Format input_format, |
+ virtual void Initialize(Client* client, |
+ VideoFrame::Format input_format, |
const gfx::Size& input_visible_size, |
VideoCodecProfile output_profile, |
uint32 initial_bitrate) = 0; |