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

Unified Diff: media/base/stream_parser.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/base/stream_parser.cc
diff --git a/media/base/stream_parser.cc b/media/base/stream_parser.cc
index f63644a7755061ddca1800f73f0863b658fd97de..9f3119b33b004e0eb27366d223595587d35e7473 100644
--- a/media/base/stream_parser.cc
+++ b/media/base/stream_parser.cc
@@ -11,8 +11,10 @@ namespace media {
StreamParser::InitParameters::InitParameters(base::TimeDelta duration)
: duration(duration),
auto_update_timestamp_offset(false),
- liveness(DemuxerStream::LIVENESS_UNKNOWN) {
-}
+ liveness(DemuxerStream::LIVENESS_UNKNOWN),
+ detected_audio_track_count(0),
+ detected_video_track_count(0),
+ detected_text_track_count(0) {}
StreamParser::StreamParser() {}

Powered by Google App Engine
This is Rietveld 408576698