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

Unified Diff: chromecast/media/cma/base/demuxer_stream_for_test.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 | « chromecast/media/cma/base/demuxer_stream_for_test.h ('k') | media/base/android/media_url_demuxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cma/base/demuxer_stream_for_test.cc
diff --git a/chromecast/media/cma/base/demuxer_stream_for_test.cc b/chromecast/media/cma/base/demuxer_stream_for_test.cc
index 32ee27b0fe1c8b9b50593b13f1fc00f8e1f496f3..3115dcf0cf66286ab363bcc1f58aafd655ad9719 100644
--- a/chromecast/media/cma/base/demuxer_stream_for_test.cc
+++ b/chromecast/media/cma/base/demuxer_stream_for_test.cc
@@ -78,6 +78,18 @@ bool DemuxerStreamForTest::SupportsConfigChanges() {
return ::media::VIDEO_ROTATION_0;
}
+bool DemuxerStreamForTest::enabled() const {
+ return true;
+}
+
+void DemuxerStreamForTest::set_enabled(bool enabled, base::TimeDelta time) {
+ NOTIMPLEMENTED();
+}
+
+void DemuxerStreamForTest::SetStreamRestartedCB(const StreamRestartedCB& cb) {
+ NOTIMPLEMENTED();
+}
+
void DemuxerStreamForTest::DoRead(const ReadCB& read_cb) {
has_pending_read_ = false;
« no previous file with comments | « chromecast/media/cma/base/demuxer_stream_for_test.h ('k') | media/base/android/media_url_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698