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

Unified Diff: net/base/mime_util.cc

Issue 16830004: media: Remove VP9 flag, and enable VP9 support by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add canPlayType() support for VP9. Created 7 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
Index: net/base/mime_util.cc
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 219d2ea45bf1cfe9ff392ed7ed72ebfc1ca01b9c..500cdbab416b487e618b5c7e92d2cf8ff2fd7b2f 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -305,6 +305,7 @@ static const char* const common_media_codecs[] = {
#endif
"vorbis",
"vp8",
+ "vp9",
"1" // WAVE_FORMAT_PCM.
};
@@ -410,7 +411,7 @@ struct MediaFormatStrict {
};
static const MediaFormatStrict format_codec_mappings[] = {
- { "video/webm", "vorbis,vp8,vp8.0" },
+ { "video/webm", "vorbis,vp8,vp8.0,vp9,vp9.0" },
{ "audio/webm", "vorbis" },
{ "audio/wav", "1" }
};

Powered by Google App Engine
This is Rietveld 408576698