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..b7bc51152615fb367995eae12186dab8b6f9e2ed 100644 |
--- a/media/video/video_decode_accelerator.h |
+++ b/media/video/video_decode_accelerator.h |
@@ -86,9 +86,11 @@ class MEDIA_EXPORT VideoDecodeAccelerator |
// Initializes the video decoder with specific configuration. |
// Parameters: |
// |profile| is the video stream's format profile. |
+ // |client| is the client of this video decoder. The provided pointer must |
+ // be valid until Destroy() is called. |
// |
// Returns true when command successfully accepted. Otherwise false. |
- virtual bool Initialize(VideoCodecProfile profile) = 0; |
+ virtual bool Initialize(VideoCodecProfile profile, Client* client) = 0; |
// Decodes given bitstream buffer that contains at most one frame. Once |
// decoder is done with processing |bitstream_buffer| it will call |