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

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: 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/base/fake_demuxer_stream.cc
diff --git a/media/base/fake_demuxer_stream.cc b/media/base/fake_demuxer_stream.cc
index d074a54092d318cb8c50b1315c06e46d881e5c32..e7058fc469eaa818297b74b522a441d444202a5a 100644
--- a/media/base/fake_demuxer_stream.cc
+++ b/media/base/fake_demuxer_stream.cc
@@ -104,6 +104,12 @@ VideoRotation FakeDemuxerStream::video_rotation() {
return VIDEO_ROTATION_0;
}
+bool FakeDemuxerStream::enabled() const {
+ return true;
+}
+
+void FakeDemuxerStream::set_enabled(bool enabled, base::TimeDelta timestamp) {}
chcunningham 2016/06/02 23:49:42 ditto for the other fakes
chcunningham 2016/06/02 23:49:42 NOTIMPLEMENTED()
+
void FakeDemuxerStream::HoldNextRead() {
DCHECK(task_runner_->BelongsToCurrentThread());
read_to_hold_ = next_read_num_;

Powered by Google App Engine
This is Rietveld 408576698