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

Unified Diff: media/base/pipeline.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/audio_renderer.cc ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/pipeline.h
diff --git a/media/base/pipeline.h b/media/base/pipeline.h
index 3fd7f6fe4ac1c2fdf26d78adb7a33844c63f8fac..c0f928dafe4bb41ef5051379c35349754c1823eb 100644
--- a/media/base/pipeline.h
+++ b/media/base/pipeline.h
@@ -16,6 +16,7 @@
#include "media/base/pipeline_metadata.h"
#include "media/base/pipeline_status.h"
#include "media/base/ranges.h"
+#include "media/base/stream_position.h"
#include "media/base/text_track.h"
#include "media/base/video_rotation.h"
#include "ui/gfx/geometry/size.h"
@@ -102,7 +103,8 @@ class MEDIA_EXPORT Pipeline {
//
// It is an error to call this method if the pipeline has not started or
// has been suspended.
- virtual void Seek(base::TimeDelta time, const PipelineStatusCB& seek_cb) = 0;
+ virtual void Seek(StreamPosition position,
+ const PipelineStatusCB& seek_cb) = 0;
// Suspends the pipeline, discarding the current renderer.
//
« no previous file with comments | « media/base/audio_renderer.cc ('k') | media/base/pipeline_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698