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

Unified Diff: media/base/video_frame_impl.h

Issue 113611: Handle end of stream for media... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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/base/video_frame_impl.h
===================================================================
--- media/base/video_frame_impl.h (revision 17376)
+++ media/base/video_frame_impl.h (working copy)
@@ -22,9 +22,14 @@
base::TimeDelta duration,
scoped_refptr<VideoFrame>* frame_out);
+ // Creates a frame with format equals to VideoSurface::EMPTY, width, height
+ // timestamp and duration are all 0.
+ static void CreateEmptyFrame(scoped_refptr<VideoFrame>* frame_out);
+
// Implementation of VideoFrame.
virtual bool Lock(VideoSurface* surface);
virtual void Unlock();
+ virtual bool IsEndOfStream() const;
private:
// Clients must use the static CreateFrame() method to create a new frame.

Powered by Google App Engine
This is Rietveld 408576698