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

Unified Diff: media/filters/video_frame_generator.cc

Issue 10248002: Report VideoDecoder status through ReadCB instead of through FilterHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/video_frame_generator.cc
diff --git a/media/filters/video_frame_generator.cc b/media/filters/video_frame_generator.cc
index 93dbd803334cf68cc0c1b2f4d491b6d18935ee8f..d0bcc0e8a8262fd76c0b5080589d9a7b9d1555f0 100644
--- a/media/filters/video_frame_generator.cc
+++ b/media/filters/video_frame_generator.cc
@@ -80,7 +80,7 @@ void VideoFrameGenerator::ReadOnDecoderThread(const ReadCB& read_cb) {
// TODO(wjia): set pixel data to pre-defined patterns if it's desired to
// verify frame content.
- read_cb.Run(video_frame);
+ read_cb.Run(video_frame, kOk);
}
void VideoFrameGenerator::StopOnDecoderThread(const base::Closure& callback) {

Powered by Google App Engine
This is Rietveld 408576698