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

Unified Diff: media/filters/gpu_video_decoder.cc

Issue 339653003: No EOS frame in {Audio|Video}Decoder::OutputCB. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 6 years, 6 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
« no previous file with comments | « media/filters/gpu_video_decoder.h ('k') | media/filters/opus_audio_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/gpu_video_decoder.cc
diff --git a/media/filters/gpu_video_decoder.cc b/media/filters/gpu_video_decoder.cc
index e2b4f7fa4dd43267fffb426c2c2160b1101db116..bc545b7d652ca912918483fd23b8f47590d8d098 100644
--- a/media/filters/gpu_video_decoder.cc
+++ b/media/filters/gpu_video_decoder.cc
@@ -148,7 +148,7 @@ static void ReportGpuVideoDecoderInitializeStatusToUMAAndRunCB(
}
void GpuVideoDecoder::Initialize(const VideoDecoderConfig& config,
- bool live_mode,
+ bool /* low_delay */,
const PipelineStatusCB& orig_status_cb,
const OutputCB& output_cb) {
DVLOG(3) << "Initialize()";
@@ -581,7 +581,6 @@ void GpuVideoDecoder::NotifyFlushDone() {
DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent();
DCHECK_EQ(state_, kDrainingDecoder);
state_ = kDecoderDrained;
- DeliverFrame(VideoFrame::CreateEOSFrame());
base::ResetAndReturn(&eos_decode_cb_).Run(kOk);
}
« no previous file with comments | « media/filters/gpu_video_decoder.h ('k') | media/filters/opus_audio_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698