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

Unified Diff: media/filters/video_renderer_base.h

Issue 165472: Merge 23255 - Implemented endofstream callback for media::PipelineImpl.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 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/audio_renderer_base_unittest.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
===================================================================
--- media/filters/video_renderer_base.h (revision 23335)
+++ media/filters/video_renderer_base.h (working copy)
@@ -45,6 +45,7 @@
// VideoRenderer implementation.
virtual void Initialize(VideoDecoder* decoder, FilterCallback* callback);
+ virtual bool HasEnded();
// PlatformThread::Delegate implementation.
virtual void ThreadMain();
@@ -91,10 +92,6 @@
base::TimeDelta CalculateSleepDuration(VideoFrame* next_frame,
float playback_rate);
- // Allocates YV12 frame based on |width_| and |height_|, and sets its data to
- // the YUV equivalent of RGB(0,0,0).
- void CreateBlackFrame(scoped_refptr<VideoFrame>* frame_out);
-
// Used for accessing data members.
Lock lock_;
@@ -120,6 +117,7 @@
kPaused,
kSeeking,
kPlaying,
+ kEnded,
kStopped,
kError,
};
Property changes on: media\filters\video_renderer_base.h
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/media/filters/video_renderer_base.h:r23255
« no previous file with comments | « media/filters/audio_renderer_base_unittest.cc ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698