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

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: Rename VideoDecoder::Status to VideoDecoder::DecoderStatus since Status has been polluted by Xlib.h. 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
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/filters/video_renderer_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3141399c369924b3f35773ebd998c1b631bc33d3 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(kOk, video_frame);
}
void VideoFrameGenerator::StopOnDecoderThread(const base::Closure& callback) {
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | media/filters/video_renderer_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698