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. |