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

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

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/filters/ffmpeg_demuxer.cc ('k') | media/mojo/services/mojo_demuxer_stream_adapter.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.h
diff --git a/media/mojo/services/mojo_demuxer_stream_adapter.h b/media/mojo/services/mojo_demuxer_stream_adapter.h
index b97086d0fb20c2a5099d2bed3dd39eb0ecfeb322..43a9713194476cdba9ecff2f3a3bf5cdfb052cb8 100644
--- a/media/mojo/services/mojo_demuxer_stream_adapter.h
+++ b/media/mojo/services/mojo_demuxer_stream_adapter.h
@@ -44,6 +44,9 @@ class MojoDemuxerStreamAdapter : public DemuxerStream {
void EnableBitstreamConverter() override;
bool SupportsConfigChanges() override;
VideoRotation video_rotation() override;
+ bool enabled() const override;
+ void set_enabled(bool enabled, base::TimeDelta timestamp) override;
+ void SetStreamRestartedCB(const StreamRestartedCB& cb) override;
private:
void OnStreamReady(mojom::DemuxerStream::Type type,
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/mojo/services/mojo_demuxer_stream_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698