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

Unified Diff: media/base/fake_text_track_stream.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/base/fake_text_track_stream.h
diff --git a/media/base/fake_text_track_stream.h b/media/base/fake_text_track_stream.h
index c21f577294dea0172c6486053758f3a6ffef9a94..6381ca5c2974aaeb20e12041b0123192855fe24c 100644
--- a/media/base/fake_text_track_stream.h
+++ b/media/base/fake_text_track_stream.h
@@ -29,6 +29,8 @@ class FakeTextTrackStream : public DemuxerStream {
MOCK_METHOD0(EnableBitstreamConverter, void());
bool SupportsConfigChanges() override;
VideoRotation video_rotation() override;
+ bool enabled() const override { return true; }
+ void set_enabled(bool enabled, base::TimeDelta timestamp) override {}
void SatisfyPendingRead(const base::TimeDelta& start,
const base::TimeDelta& duration,

Powered by Google App Engine
This is Rietveld 408576698