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

Unified Diff: media/tools/player_x11/player_x11.cc

Issue 23702007: Render inband text tracks in the media pipeline (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: incorporated more of aaron's comments Created 7 years, 3 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
« media/base/text_cue.h ('K') | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/player_x11/player_x11.cc
diff --git a/media/tools/player_x11/player_x11.cc b/media/tools/player_x11/player_x11.cc
index c154e6937e25fba06a00b3825a2edf03ca77c696..fa8981d8d2ed2d4a599863a1718a3a04686f70ed 100644
--- a/media/tools/player_x11/player_x11.cc
+++ b/media/tools/player_x11/player_x11.cc
@@ -277,9 +277,10 @@ int main(int argc, char** argv) {
scoped_ptr<media::DataSource> data_source(new DataSourceLogger(
CreateDataSource(filename), command_line->HasSwitch("streaming")));
+ media::FFmpegAddTextTrackCB add_text_track_cb;
scoped_ptr<media::Demuxer> demuxer(new media::FFmpegDemuxer(
media_thread.message_loop_proxy(), data_source.get(),
- base::Bind(&NeedKey), new media::MediaLog()));
+ base::Bind(&NeedKey), add_text_track_cb, new media::MediaLog()));
media::Pipeline pipeline(media_thread.message_loop_proxy(),
new media::MediaLog());
« media/base/text_cue.h ('K') | « media/tools/demuxer_bench/demuxer_bench.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698