| Index: media/filters/video_renderer_base.h
|
| diff --git a/media/filters/video_renderer_base.h b/media/filters/video_renderer_base.h
|
| index 6bd2daec673d83901ff17d4b6742ad0ad90d42c5..276a24b4d45b981326a197d8fca29d995e1f06e2 100644
|
| --- a/media/filters/video_renderer_base.h
|
| +++ b/media/filters/video_renderer_base.h
|
| @@ -116,6 +116,10 @@ class MEDIA_EXPORT VideoRendererBase
|
| // Return the number of frames currently held by this class.
|
| int NumFrames_Locked() const;
|
|
|
| + // Updates |current_frame_| to the next frame on |ready_frames_| and calls
|
| + // |size_changed_cb_| if the natural size changes.
|
| + void SetCurrentFrameToNextReadyFrame();
|
| +
|
| // Used for accessing data members.
|
| base::Lock lock_;
|
|
|
| @@ -228,6 +232,9 @@ class MEDIA_EXPORT VideoRendererBase
|
| // opaque.
|
| SetOpaqueCB set_opaque_cb_;
|
|
|
| + // The last natural size |size_changed_cb_| was called with.
|
| + gfx::Size last_natural_size_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(VideoRendererBase);
|
| };
|
|
|
|
|