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

Unified Diff: media/base/mime_util_internal.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/base/media_switches.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mime_util_internal.cc
diff --git a/media/base/mime_util_internal.cc b/media/base/mime_util_internal.cc
index 6ed4047ab9a496a24405b4d4951db833c188bf1e..b486fd9a6139f470621e9d41cf61a8d873260292 100644
--- a/media/base/mime_util_internal.cc
+++ b/media/base/mime_util_internal.cc
@@ -89,12 +89,9 @@ static bool ParseVp9CodecID(const std::string& mime_type_lower_case,
uint8_t* out_level,
VideoColorSpace* out_color_space) {
if (mime_type_lower_case == "video/mp4") {
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableVp9InMp4)) {
- // Only new style is allowed for mp4.
- return ParseNewStyleVp9CodecID(codec_id, out_profile, out_level,
- out_color_space);
- }
+ // Only new style is allowed for mp4.
+ return ParseNewStyleVp9CodecID(codec_id, out_profile, out_level,
+ out_color_space);
} else if (mime_type_lower_case == "video/webm") {
if (HasNewVp9CodecStringSupport() &&
ParseNewStyleVp9CodecID(codec_id, out_profile, out_level,
« no previous file with comments | « media/base/media_switches.cc ('k') | media/filters/chunk_demuxer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698