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

Unified Diff: media/filters/ffmpeg_video_decoder.cc

Issue 1921803002: Avoid unnecessary post task during frame delivery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 4 years, 8 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/ffmpeg_video_decoder.cc
diff --git a/media/filters/ffmpeg_video_decoder.cc b/media/filters/ffmpeg_video_decoder.cc
index 92028dce636ab97364e71c1d09651689e3b5dd99..2ca570890f6cde7bcf4d786ca722ee423325f0bf 100644
--- a/media/filters/ffmpeg_video_decoder.cc
+++ b/media/filters/ffmpeg_video_decoder.cc
@@ -194,7 +194,7 @@ void FFmpegVideoDecoder::Initialize(const VideoDecoderConfig& config,
return;
}
- output_cb_ = BindToCurrentLoop(output_cb);
+ output_cb_ = output_cb;
// Success!
state_ = kNormal;

Powered by Google App Engine
This is Rietveld 408576698