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

Unified Diff: media/mojo/services/mojo_demuxer_stream_adapter.cc

Issue 1935873002: Implement disabling and enabling media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-control2
Patch Set: rebase Created 4 years, 6 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/mojo/services/mojo_demuxer_stream_adapter.h ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_demuxer_stream_adapter.cc
diff --git a/media/mojo/services/mojo_demuxer_stream_adapter.cc b/media/mojo/services/mojo_demuxer_stream_adapter.cc
index 035972904b5d8a6126beeb1ea2eb66ac49e75b9c..1a5a09fc3adda9ac599d27ffe30fe55e7fbe565b 100644
--- a/media/mojo/services/mojo_demuxer_stream_adapter.cc
+++ b/media/mojo/services/mojo_demuxer_stream_adapter.cc
@@ -70,6 +70,20 @@ VideoRotation MojoDemuxerStreamAdapter::video_rotation() {
return VIDEO_ROTATION_0;
}
+bool MojoDemuxerStreamAdapter::enabled() const {
+ return true;
+}
+
+void MojoDemuxerStreamAdapter::set_enabled(bool enabled,
+ base::TimeDelta timestamp) {
+ NOTIMPLEMENTED();
+}
+
+void MojoDemuxerStreamAdapter::SetStreamRestartedCB(
+ const StreamRestartedCB& cb) {
+ NOTIMPLEMENTED();
+}
+
// TODO(xhwang): Pass liveness here.
void MojoDemuxerStreamAdapter::OnStreamReady(
mojom::DemuxerStream::Type type,
« no previous file with comments | « media/mojo/services/mojo_demuxer_stream_adapter.h ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698