summaryrefslogtreecommitdiffstats
path: root/media/mp4/mp4_stream_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/mp4/mp4_stream_parser.cc')
-rw-r--r--media/mp4/mp4_stream_parser.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/media/mp4/mp4_stream_parser.cc b/media/mp4/mp4_stream_parser.cc
index 1aa8c70..b025b7a 100644
--- a/media/mp4/mp4_stream_parser.cc
+++ b/media/mp4/mp4_stream_parser.cc
@@ -237,14 +237,7 @@ bool MP4StreamParser::ParseMoov(BoxReader* reader) {
}
}
- // TODO(strobe): For now, we avoid sending new configs on a new
- // reinitialization segment, and instead simply embed the updated parameter
- // sets into the video stream. The conditional should be removed when
- // http://crbug.com/122913 is fixed. (We detect whether we've already sent
- // configs by looking at init_cb_ instead of config_cb_, because init_cb_
- // should only be fired once even after that bug is fixed.)
- if (!init_cb_.is_null())
- RCHECK(config_cb_.Run(audio_config, video_config));
+ RCHECK(config_cb_.Run(audio_config, video_config));
base::TimeDelta duration;
if (moov_->extends.header.fragment_duration > 0) {