diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 00:02:29 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-13 00:02:29 +0000 |
commit | c80a0baf8bc4a6dcf498b95effa8bb7916f60658 (patch) | |
tree | d7ca9c74fab5d9eed7846f0ce6f81fc788428d6b /ppapi/examples | |
parent | 9b22223811802910166004c95afcfa41d38997a4 (diff) | |
download | chromium_src-c80a0baf8bc4a6dcf498b95effa8bb7916f60658.zip chromium_src-c80a0baf8bc4a6dcf498b95effa8bb7916f60658.tar.gz chromium_src-c80a0baf8bc4a6dcf498b95effa8bb7916f60658.tar.bz2 |
Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream
Nobody's ever called it and it doesn't make sense given the API: EOS is
signalled when no more bits are available to Decode(), via Flush().
BUG=109819
TEST=trybots
Review URL: http://codereview.chromium.org/9186022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/examples')
-rw-r--r-- | ppapi/examples/gles2/gles2.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ppapi/examples/gles2/gles2.cc b/ppapi/examples/gles2/gles2.cc index 9e0ea6c..a475230 100644 --- a/ppapi/examples/gles2/gles2.cc +++ b/ppapi/examples/gles2/gles2.cc @@ -66,7 +66,6 @@ class GLES2DemoInstance : public pp::Instance, virtual void DismissPictureBuffer(PP_Resource decoder, int32_t picture_buffer_id); virtual void PictureReady(PP_Resource decoder, const PP_Picture_Dev& picture); - virtual void EndOfStream(PP_Resource decoder); virtual void NotifyError(PP_Resource decoder, PP_VideoDecodeError_Dev error); private: @@ -398,9 +397,6 @@ void GLES2DemoInstance::PictureReady(PP_Resource decoder, assert(context_->SwapBuffers(cb) == PP_OK_COMPLETIONPENDING); } -void GLES2DemoInstance::EndOfStream(PP_Resource decoder) { -} - void GLES2DemoInstance::NotifyError(PP_Resource decoder, PP_VideoDecodeError_Dev error) { LogError(this).s() << "Received error: " << error; |