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

Unified Diff: media/filters/video_renderer_base.h

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/video_frame_generator.cc ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_renderer_base.h
diff --git a/media/filters/video_renderer_base.h b/media/filters/video_renderer_base.h
index 2746ccb98da0e155383670477fbed0cbc380a0c2..c710e1cd6b746d3e507978a2bc5aabc11fe7b83f 100644
--- a/media/filters/video_renderer_base.h
+++ b/media/filters/video_renderer_base.h
@@ -74,8 +74,10 @@ class MEDIA_EXPORT VideoRendererBase
void PutCurrentFrame(scoped_refptr<VideoFrame> frame);
private:
- // Callback from the video decoder delivering decoded video frames.
- void FrameReady(scoped_refptr<VideoFrame> frame);
+ // Callback from the video decoder delivering decoded video frames and
+ // reporting video decoder status.
+ void FrameReady(VideoDecoder::DecoderStatus status,
+ scoped_refptr<VideoFrame> frame);
// Helper method that schedules an asynchronous read from the decoder as long
// as there isn't a pending read and we have capacity.
« no previous file with comments | « media/filters/video_frame_generator.cc ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698