diff options
author | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 20:38:07 +0000 |
---|---|---|
committer | fischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-13 20:38:07 +0000 |
commit | a9fbefa0a0bbd7ae3d20edee702dd927e3a807c6 (patch) | |
tree | d5cc77c2a7b8676fcf15147b559d687968b78b6d /ppapi | |
parent | 693d0144003f6dc825994efdd39b27dfcac81166 (diff) | |
download | chromium_src-a9fbefa0a0bbd7ae3d20edee702dd927e3a807c6.zip chromium_src-a9fbefa0a0bbd7ae3d20edee702dd927e3a807c6.tar.gz chromium_src-a9fbefa0a0bbd7ae3d20edee702dd927e3a807c6.tar.bz2 |
Defer OMX Flush() when no input buffers are available.
E.g. this makes the video_decode ppapi example not error out at EOS.
Review URL: https://chromiumcodereview.appspot.com/10824281
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/examples/video_decode/video_decode.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/examples/video_decode/video_decode.cc b/ppapi/examples/video_decode/video_decode.cc index affea3c..18c671c 100644 --- a/ppapi/examples/video_decode/video_decode.cc +++ b/ppapi/examples/video_decode/video_decode.cc @@ -459,7 +459,7 @@ void VideoDecodeDemoInstance::PictureReady(PP_Resource decoder, } void VideoDecodeDemoInstance::NotifyError(PP_Resource decoder, - PP_VideoDecodeError_Dev error) { + PP_VideoDecodeError_Dev error) { LogError(this).s() << "Received error: " << error; assert(!"Unexpected error; see stderr for details"); } |