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

Unified Diff: media/filters/video_renderer_impl.h

Issue 379343005: Introduce media::TimeSource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/filters/video_renderer_impl.h
diff --git a/media/filters/video_renderer_impl.h b/media/filters/video_renderer_impl.h
index 0f142be3520509a1e7b3ac200ea601b5f4f6701a..68a80003e456367dc84b15e044c9eaaf19902d76 100644
--- a/media/filters/video_renderer_impl.h
+++ b/media/filters/video_renderer_impl.h
@@ -60,14 +60,13 @@ class MEDIA_EXPORT VideoRendererImpl
bool low_delay,
const PipelineStatusCB& init_cb,
const StatisticsCB& statistics_cb,
- const TimeCB& max_time_cb,
const BufferingStateCB& buffering_state_cb,
const base::Closure& ended_cb,
const PipelineStatusCB& error_cb,
const TimeDeltaCB& get_time_cb,
const TimeDeltaCB& get_duration_cb) OVERRIDE;
virtual void Flush(const base::Closure& callback) OVERRIDE;
- virtual void StartPlayingFrom(base::TimeDelta timestamp) OVERRIDE;
+ virtual void StartPlaying() OVERRIDE;
virtual void Stop(const base::Closure& callback) OVERRIDE;
// PlatformThread::Delegate implementation.
@@ -154,7 +153,7 @@ class MEDIA_EXPORT VideoRendererImpl
// |
// V Decoders reset
// kFlushed <------------------ kFlushing
- // | StartPlayingFrom() ^
+ // | StartPlaying() ^
// | |
// | | Flush()
// `---------> kPlaying --------'
@@ -185,7 +184,6 @@ class MEDIA_EXPORT VideoRendererImpl
// Event callbacks.
PipelineStatusCB init_cb_;
StatisticsCB statistics_cb_;
- TimeCB max_time_cb_;
BufferingStateCB buffering_state_cb_;
base::Closure ended_cb_;
PipelineStatusCB error_cb_;

Powered by Google App Engine
This is Rietveld 408576698