| Index: media/filters/video_renderer_base.h
|
| diff --git a/media/filters/video_renderer_base.h b/media/filters/video_renderer_base.h
|
| index f384aa781c1edaa889432bba8d87597b3f91e6ba..6bd2daec673d83901ff17d4b6742ad0ad90d42c5 100644
|
| --- a/media/filters/video_renderer_base.h
|
| +++ b/media/filters/video_renderer_base.h
|
| @@ -86,6 +86,9 @@ class MEDIA_EXPORT VideoRendererBase
|
| void FrameReady(VideoDecoder::DecoderStatus status,
|
| const scoped_refptr<VideoFrame>& frame);
|
|
|
| + // Helper method for adding a frame to |ready_frames_|
|
| + void AddReadyFrame(const 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.
|
| void AttemptRead_Locked();
|
| @@ -214,6 +217,10 @@ class MEDIA_EXPORT VideoRendererBase
|
|
|
| base::TimeDelta preroll_timestamp_;
|
|
|
| + // Delayed frame used during kPrerolling to determine whether
|
| + // |preroll_timestamp_| is between this frame and the next one.
|
| + scoped_refptr<VideoFrame> prerolling_delayed_frame_;
|
| +
|
| // Embedder callback for notifying a new frame is available for painting.
|
| base::Closure paint_cb_;
|
|
|
|
|