Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 9186022: Remove VideoDecodeAccelerator::Client::NotifyEndOfStream / PPP_VideoDecoder_Dev::EndOfStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index 442f16f7c1d1cb45d5bc6588f929e1287bab567d..206786c5c6d6bc2426de0a8c9395cb15ee9851e0 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -400,15 +400,6 @@ void GpuVideoDecoder::PutSHM(SHMBuffer* shm_buffer) {
available_shm_segments_.push_back(shm_buffer);
}
-void GpuVideoDecoder::NotifyEndOfStream() {
- if (MessageLoop::current() != message_loop_) {
- message_loop_->PostTask(FROM_HERE, base::Bind(
- &GpuVideoDecoder::NotifyEndOfStream, this));
- return;
- }
- DeliverFrame(VideoFrame::CreateEmptyFrame());
-}
-
void GpuVideoDecoder::NotifyEndOfBitstreamBuffer(int32 id) {
if (MessageLoop::current() != message_loop_) {
message_loop_->PostTask(FROM_HERE, base::Bind(

Powered by Google App Engine
This is Rietveld 408576698