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

Unified Diff: media/base/demuxer_perftest.cc

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix compile errors 11/21 #6 Created 7 years, 1 month 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/demuxer.h ('k') | media/base/demuxer_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer_perftest.cc
diff --git a/media/base/demuxer_perftest.cc b/media/base/demuxer_perftest.cc
index 8681e96de0c904b93849ce6b0fedc3e58789f2f6..8e791ee8bc2cd7be6383ad053312ceb8e2075cbb 100644
--- a/media/base/demuxer_perftest.cc
+++ b/media/base/demuxer_perftest.cc
@@ -33,6 +33,9 @@ class DemuxerHostImpl : public media::DemuxerHost {
// DemuxerHost implementation.
virtual void SetDuration(base::TimeDelta duration) OVERRIDE {}
virtual void OnDemuxerError(media::PipelineStatus error) OVERRIDE {}
+ virtual void AddTextStream(media::DemuxerStream* text_stream,
+ const media::TextTrackConfig& config) OVERRIDE {}
+ virtual void RemoveTextStream(media::DemuxerStream* text_stream) OVERRIDE {}
private:
DISALLOW_COPY_AND_ASSIGN(DemuxerHostImpl);
@@ -182,8 +185,9 @@ static void RunDemuxerBenchmark(const std::string& filename) {
need_key_cb,
new MediaLog());
- demuxer.Initialize(&demuxer_host, base::Bind(
- &QuitLoopWithStatus, &message_loop));
+ demuxer.Initialize(&demuxer_host,
+ base::Bind(&QuitLoopWithStatus, &message_loop),
+ false);
message_loop.Run();
StreamReader stream_reader(&demuxer, false);
« no previous file with comments | « media/base/demuxer.h ('k') | media/base/demuxer_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698