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

Unified Diff: media/renderers/renderer_impl.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/renderers/audio_renderer_impl.cc ('k') | media/renderers/renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/renderer_impl.h
diff --git a/media/renderers/renderer_impl.h b/media/renderers/renderer_impl.h
index 0752805fc118ebd6ecb374db25ab089773666ca4..6a2cb3301c6161940f4d74ddf0922103abc4d324 100644
--- a/media/renderers/renderer_impl.h
+++ b/media/renderers/renderer_impl.h
@@ -22,6 +22,7 @@
#include "media/base/media_export.h"
#include "media/base/pipeline_status.h"
#include "media/base/renderer.h"
+#include "media/base/stream_position.h"
#include "ui/gfx/geometry/size.h"
namespace base {
@@ -55,7 +56,7 @@ class MEDIA_EXPORT RendererImpl : public Renderer {
void SetCdm(CdmContext* cdm_context,
const CdmAttachedCB& cdm_attached_cb) final;
void Flush(const base::Closure& flush_cb) final;
- void StartPlayingFrom(base::TimeDelta time) final;
+ void StartPlayingFrom(StreamPosition position) final;
void SetPlaybackRate(double playback_rate) final;
void SetVolume(float volume) final;
base::TimeDelta GetMediaTime() final;
@@ -113,6 +114,8 @@ class MEDIA_EXPORT RendererImpl : public Renderer {
// Callback executed by filters to update statistics.
void OnStatisticsUpdate(const PipelineStatistics& stats);
+ void OnFirstVideoFrameTimestampKnown(base::TimeDelta timestamp);
+
// Collection of callback methods and helpers for tracking changes in
// buffering state and transition from paused/underflow states and playing
// states.
« no previous file with comments | « media/renderers/audio_renderer_impl.cc ('k') | media/renderers/renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698