diff options
author | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 20:54:02 +0000 |
---|---|---|
committer | vrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-25 20:54:02 +0000 |
commit | 4c2109d8bbb2fd92dc9d3be1cfc93c0877f41bad (patch) | |
tree | 99531b431061af2ae3585374c0b34ee94612aa68 /media | |
parent | 6e001bbb455a9555b95df2f8098ef105d022978b (diff) | |
download | chromium_src-4c2109d8bbb2fd92dc9d3be1cfc93c0877f41bad.zip chromium_src-4c2109d8bbb2fd92dc9d3be1cfc93c0877f41bad.tar.gz chromium_src-4c2109d8bbb2fd92dc9d3be1cfc93c0877f41bad.tar.bz2 |
Add initialization callback support for Video Decoder PPAPI.
Initializing a decoder is asynchronous, so add a callback to tell client
when the decoder is ready to use.
I confirmed that this works locally using a C plugin that I wrote on my machine.
BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/7065010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r-- | media/video/video_decode_accelerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h index 807f923..807501f 100644 --- a/media/video/video_decode_accelerator.h +++ b/media/video/video_decode_accelerator.h @@ -186,6 +186,9 @@ class VideoDecodeAccelerator { public: virtual ~Client() {} + // Callback to notify client that decoder has been initialized. + virtual void NotifyInitializeDone() = 0; + // Callback to tell the information needed by the client to provide decoding // buffer to the decoder. virtual void ProvidePictureBuffers( |