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

Unified Diff: media/formats/mp4/mp4_stream_parser.cc

Issue 195973006: Allow StreamParsers to request automatic timestampOffset updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unittest. Created 6 years, 9 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/formats/mp4/mp4_stream_parser.cc
diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
index 809bd820972e6747c6e03f393e6cdf663510a561..2fac274a7df114a3e2af29bac1ac0b8b7d47516f 100644
--- a/media/formats/mp4/mp4_stream_parser.cc
+++ b/media/formats/mp4/mp4_stream_parser.cc
@@ -301,7 +301,7 @@ bool MP4StreamParser::ParseMoov(BoxReader* reader) {
}
if (!init_cb_.is_null())
- base::ResetAndReturn(&init_cb_).Run(true, duration);
+ base::ResetAndReturn(&init_cb_).Run(true, duration, false);
EmitNeedKeyIfNecessary(moov_->pssh);
return true;

Powered by Google App Engine
This is Rietveld 408576698