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

Unified Diff: media/mojo/interfaces/renderer.mojom

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/mojo/interfaces/renderer.mojom
diff --git a/media/mojo/interfaces/renderer.mojom b/media/mojo/interfaces/renderer.mojom
index 1318bad6d0c03eb41f6e23b6de453388ee02de16..0c8c8f4090391d1e58d529d810d2beea5604b292 100644
--- a/media/mojo/interfaces/renderer.mojom
+++ b/media/mojo/interfaces/renderer.mojom
@@ -23,6 +23,9 @@ interface Renderer {
// Starts rendering from |time_usec|.
StartPlayingFrom(int64 time_usec);
+ // Restarts rendering a given stream after it has been reenabled.
+ RestartStreamPlayback(bool video_stream, int64 time_usec);
+
// Updates the current playback rate. The default playback rate should be 1.
SetPlaybackRate(double playback_rate);

Powered by Google App Engine
This is Rietveld 408576698