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

Unified Diff: media/base/video_renderer.h

Issue 568113003: Switch back to using VideoRenderer::StartPlayingFrom(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix + rebase Created 6 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/mock_filters.h ('k') | media/filters/renderer_impl.cc » ('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 e3d64ef9680587aab661f7a73b6a648567f73daa..fc544bc2931097c762f80515505455cab027e41f 100644
--- a/media/base/video_renderer.h
+++ b/media/base/video_renderer.h
@@ -57,10 +57,11 @@ class MEDIA_EXPORT VideoRenderer {
// BUFFERING_HAVE_NOTHING while flushing is in progress.
virtual void Flush(const base::Closure& callback) = 0;
- // Starts playback by reading from |stream| and decoding and rendering video.
+ // Starts playback at |timestamp| by reading from |stream| and decoding and
+ // rendering video.
//
// Only valid to call after a successful Initialize() or Flush().
- virtual void StartPlaying() = 0;
+ virtual void StartPlayingFrom(base::TimeDelta timestamp) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(VideoRenderer);
« no previous file with comments | « media/base/mock_filters.h ('k') | media/filters/renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698