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..67a8af1397ecc743d5db4ce4644cf79a58ae2d81 100644 |
--- a/media/video/video_decode_accelerator.h |
+++ b/media/video/video_decode_accelerator.h |
@@ -85,10 +85,13 @@ 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 for the rest of the lifetime of this decoder, until Destroy() |
Ami GONE FROM CHROMIUM
2014/02/24 23:12:40
I'd drop "for the rest of the lifetime of this dec
sheu
2014/02/24 23:48:20
Done.
|
+ // 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; |
Ami GONE FROM CHROMIUM
2014/02/24 23:12:40
In-params usually precede out-params, and POD para
sheu
2014/02/24 23:48:20
My feeling is that |client| is more innate to the
Ami GONE FROM CHROMIUM
2014/02/25 00:01:35
Yeah, I definitely think profile should come first
|
// Decodes given bitstream buffer that contains at most one frame. Once |
// decoder is done with processing |bitstream_buffer| it will call |