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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 2928873002: Enable VP9 in MP4 by default (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/formats/mp4/box_definitions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/stream_parser_factory.cc
diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
index 55e03b79a3d8979c19a4365255f63550ae147f67..d76885be0c29828ea1e691472a012cd8a0a4d84d 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -107,11 +107,6 @@ static StreamParser* BuildWebMParser(const std::vector<std::string>& codecs,
}
#if BUILDFLAG(USE_PROPRIETARY_CODECS)
-bool CheckIfMp4Vp9DemuxingEnabled(const std::string& codec_id,
- MediaLog* media_log) {
- return base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableVp9InMp4);
-}
// AAC Object Type IDs that Chrome supports.
static const int kAACLCObjectType = 2;
@@ -178,8 +173,7 @@ static const CodecInfo kDolbyVisionHEVCCodecInfo2 = {
"dvhe.*", CodecInfo::VIDEO, NULL, CodecInfo::HISTOGRAM_DOLBYVISION};
#endif
#endif
-static const CodecInfo kMPEG4VP09CodecInfo = {"vp09.*", CodecInfo::VIDEO,
- &CheckIfMp4Vp9DemuxingEnabled,
+static const CodecInfo kMPEG4VP09CodecInfo = {"vp09.*", CodecInfo::VIDEO, NULL,
CodecInfo::HISTOGRAM_VP9};
static const CodecInfo kMPEG4AACCodecInfo = { "mp4a.40.*", CodecInfo::AUDIO,
&ValidateMP4ACodecID,
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/formats/mp4/box_definitions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698