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 /media | |
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 'media')
-rw-r--r-- | media/filters/gpu_video_decoder.cc | 5 | ||||
-rw-r--r-- | media/filters/gpu_video_decoder.h | 1 | ||||
-rw-r--r-- | media/video/video_decode_accelerator.h | 4 |
3 files changed, 0 insertions, 10 deletions
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc index a41f744..cf91a5f 100644 --- a/media/filters/gpu_video_decoder.cc +++ b/media/filters/gpu_video_decoder.cc @@ -413,11 +413,6 @@ void GpuVideoDecoder::PutSHM(SHMBuffer* shm_buffer) { available_shm_segments_.push_back(shm_buffer); } -void GpuVideoDecoder::NotifyEndOfStream() { - // TODO(fischman): remove with http://crbug.com/109819 - NOTREACHED() << "NotifyEndOfStream is never called."; -} - void GpuVideoDecoder::NotifyEndOfBitstreamBuffer(int32 id) { if (MessageLoop::current() != message_loop_) { message_loop_->PostTask(FROM_HERE, base::Bind( diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h index ffe508c..80c8011 100644 --- a/media/filters/gpu_video_decoder.h +++ b/media/filters/gpu_video_decoder.h @@ -73,7 +73,6 @@ class MEDIA_EXPORT GpuVideoDecoder const gfx::Size& size) OVERRIDE; virtual void DismissPictureBuffer(int32 id) OVERRIDE; virtual void PictureReady(const media::Picture& picture) OVERRIDE; - virtual void NotifyEndOfStream() OVERRIDE; virtual void NotifyEndOfBitstreamBuffer(int32 id) OVERRIDE; virtual void NotifyFlushDone() OVERRIDE; virtual void NotifyResetDone() OVERRIDE; diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h index 3118a84..623cf1e 100644 --- a/media/video/video_decode_accelerator.h +++ b/media/video/video_decode_accelerator.h @@ -64,10 +64,6 @@ class MEDIA_EXPORT VideoDecodeAccelerator // Callback to deliver decoded pictures ready to be displayed. virtual void PictureReady(const Picture& picture) = 0; - // Callback to notify that decoder has decoded end of stream marker and has - // outputted all displayable pictures. - virtual void NotifyEndOfStream() = 0; - // Callback to notify that decoded has decoded the end of the current // bitstream buffer. virtual void NotifyEndOfBitstreamBuffer(int32 bitstream_buffer_id) = 0; |