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

Unified Diff: media/formats/mpeg/mpeg_audio_stream_parser_base.cc

Issue 1826583003: MSE: Record counts of detected MSE audio, video and text tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/mpeg/mpeg_audio_stream_parser_base.cc
diff --git a/media/formats/mpeg/mpeg_audio_stream_parser_base.cc b/media/formats/mpeg/mpeg_audio_stream_parser_base.cc
index 47dd2f6e4cba827fb45626df6b037302a62a867e..4718050770daf7565b2df2451d8dc9ace20909e9 100644
--- a/media/formats/mpeg/mpeg_audio_stream_parser_base.cc
+++ b/media/formats/mpeg/mpeg_audio_stream_parser_base.cc
@@ -226,6 +226,7 @@ int MPEGAudioStreamParserBase::ParseFrame(const uint8_t* data,
if (!init_cb_.is_null()) {
InitParameters params(kInfiniteDuration());
+ params.detected_audio_track_count = 1;
chcunningham 2016/03/23 23:05:56 Some quick googling for multitrack mpeg audio didn
wolenetz 2016/03/25 23:25:08 Acknowledged.
params.auto_update_timestamp_offset = true;
base::ResetAndReturn(&init_cb_).Run(params);
}

Powered by Google App Engine
This is Rietveld 408576698