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

Unified Diff: media/base/mock_filters.cc

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: incorporate aaron's comments (10/16) Created 7 years, 2 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/mock_filters.cc
diff --git a/media/base/mock_filters.cc b/media/base/mock_filters.cc
index eaf52013cdad29f6de8263468a94dda512077fbc..7f5e0c90eebb9afc5e695a3e26ff56756c01d46a 100644
--- a/media/base/mock_filters.cc
+++ b/media/base/mock_filters.cc
@@ -36,6 +36,11 @@ VideoDecoderConfig MockDemuxerStream::video_decoder_config() {
return video_decoder_config_;
}
+TextTrackConfig MockDemuxerStream::text_track_config() {
+ DCHECK_EQ(type_, DemuxerStream::TEXT);
+ return text_track_config_;
+}
+
void MockDemuxerStream::set_audio_decoder_config(
const AudioDecoderConfig& config) {
DCHECK_EQ(type_, DemuxerStream::AUDIO);

Powered by Google App Engine
This is Rietveld 408576698