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

Unified Diff: media/base/fake_demuxer_stream.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/base/fake_demuxer_stream.h ('k') | media/base/fake_text_track_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/fake_demuxer_stream.cc
diff --git a/media/base/fake_demuxer_stream.cc b/media/base/fake_demuxer_stream.cc
index d074a54092d318cb8c50b1315c06e46d881e5c32..1cb06ab23af2218efcec46750e4189564f92784f 100644
--- a/media/base/fake_demuxer_stream.cc
+++ b/media/base/fake_demuxer_stream.cc
@@ -104,6 +104,18 @@ VideoRotation FakeDemuxerStream::video_rotation() {
return VIDEO_ROTATION_0;
}
+bool FakeDemuxerStream::enabled() const {
+ return true;
+}
+
+void FakeDemuxerStream::set_enabled(bool enabled, base::TimeDelta timestamp) {
+ NOTIMPLEMENTED();
+}
+
+void FakeDemuxerStream::SetStreamRestartedCB(const StreamRestartedCB& cb) {
+ NOTIMPLEMENTED();
+}
+
void FakeDemuxerStream::HoldNextRead() {
DCHECK(task_runner_->BelongsToCurrentThread());
read_to_hold_ = next_read_num_;
« no previous file with comments | « media/base/fake_demuxer_stream.h ('k') | media/base/fake_text_track_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698