Index: media/filters/video_renderer_base.h |
diff --git a/media/filters/video_renderer_base.h b/media/filters/video_renderer_base.h |
index f8176f70d671e1a5ab433244d5f6454f0d532b0a..1aa42d221dd6f61d77dcf245db6e289565d7f5d4 100644 |
--- a/media/filters/video_renderer_base.h |
+++ b/media/filters/video_renderer_base.h |
@@ -46,6 +46,7 @@ class VideoRendererBase : public VideoRenderer, |
// MediaFilter implementation. |
virtual void Play(FilterCallback* callback); |
virtual void Pause(FilterCallback* callback); |
+ virtual void Flush(FilterCallback* callback); |
virtual void Stop(FilterCallback* callback); |
virtual void SetPlaybackRate(float playback_rate); |
virtual void Seek(base::TimeDelta time, FilterCallback* callback); |
@@ -153,6 +154,7 @@ class VideoRendererBase : public VideoRenderer, |
enum State { |
kUninitialized, |
kPaused, |
+ kFlushing, |
kSeeking, |
kPlaying, |
kEnded, |
@@ -178,7 +180,7 @@ class VideoRendererBase : public VideoRenderer, |
float playback_rate_; |
// Filter callbacks. |
- scoped_ptr<FilterCallback> pause_callback_; |
+ scoped_ptr<FilterCallback> flush_callback_; |
scoped_ptr<FilterCallback> seek_callback_; |
base::TimeDelta seek_timestamp_; |