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

Unified Diff: media/base/renderer.h

Issue 1935873002: Implement disabling and enabling media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-control2
Patch Set: Updated comments + dchecks in ffmpeg demux stream Created 4 years, 7 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/base/renderer.h
diff --git a/media/base/renderer.h b/media/base/renderer.h
index fae6115f3c8ee619eb1efa3da7c4195b40244cd3..e3f73f639608b77065dea356d43848769c08bf9d 100644
--- a/media/base/renderer.h
+++ b/media/base/renderer.h
@@ -16,6 +16,7 @@
namespace media {
+class DemuxerStream;
class DemuxerStreamProvider;
class RendererClient;
class VideoFrame;
@@ -49,6 +50,9 @@ class MEDIA_EXPORT Renderer {
// Starts rendering from |time|.
virtual void StartPlayingFrom(base::TimeDelta time) = 0;
+ virtual void RestartStreamPlayback(DemuxerStream* stream,
+ base::TimeDelta time) = 0;
+
// Updates the current playback rate. The default playback rate should be 1.
virtual void SetPlaybackRate(double playback_rate) = 0;

Powered by Google App Engine
This is Rietveld 408576698