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

Unified Diff: media/base/video_renderer.h

Issue 2366373003: Not for submission. fastSeek prototype. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « media/base/stream_position.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_renderer.h
diff --git a/media/base/video_renderer.h b/media/base/video_renderer.h
index bc7c1efbd101b932c4271c3cb0aa58766fc74695..dbc2b02d970f2cdfdddb9dbc1f2f38ace06b119f 100644
--- a/media/base/video_renderer.h
+++ b/media/base/video_renderer.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "media/base/media_export.h"
#include "media/base/pipeline_status.h"
+#include "media/base/stream_position.h"
#include "media/base/time_source.h"
namespace media {
@@ -50,7 +51,7 @@ class MEDIA_EXPORT VideoRenderer {
// rendering video.
//
// Only valid to call after a successful Initialize() or Flush().
- virtual void StartPlayingFrom(base::TimeDelta timestamp) = 0;
+ virtual void StartPlayingFrom(StreamPosition position) = 0;
// Called when time starts or stops moving. Time progresses when a base time
// has been set and the playback rate is > 0. If either condition changes,
« no previous file with comments | « media/base/stream_position.cc ('k') | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698