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

Unified Diff: media/mojo/services/mojo_demuxer_stream_impl.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/mojo/services/mojo_demuxer_stream_impl.h
diff --git a/media/mojo/services/mojo_demuxer_stream_impl.h b/media/mojo/services/mojo_demuxer_stream_impl.h
index 4777ceec7e749df63882343cecab6e1e745444de..79d72260f9c09acd72666a91dde92bc183b8d511 100644
--- a/media/mojo/services/mojo_demuxer_stream_impl.h
+++ b/media/mojo/services/mojo_demuxer_stream_impl.h
@@ -30,6 +30,8 @@ class MojoDemuxerStreamImpl : public mojom::DemuxerStream {
void Initialize(const InitializeCallback& callback) override;
void Read(const ReadCallback& callback) override;
void EnableBitstreamConverter() override;
+ void enabled(const enabledCallback& callback) override;
+ void set_enabled(bool enabled, int64_t time_usec) override;
private:
void OnBufferReady(const ReadCallback& callback,

Powered by Google App Engine
This is Rietveld 408576698