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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 2723833002: WebM support for new multipart VP9 string. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « media/base/video_codecs_unittest.cc ('k') | no next file » | 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 fa079f1aead406d828478c59610329cf32c29ec7..0d71f2ac942807b315a5b98b0ccc36a68f97027d 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -83,20 +83,18 @@ struct SupportedTypeInfo {
static const CodecInfo kVP8CodecInfo = { "vp8", CodecInfo::VIDEO, NULL,
CodecInfo::HISTOGRAM_VP8 };
-static const CodecInfo kVP9CodecInfo = { "vp9", CodecInfo::VIDEO, NULL,
- CodecInfo::HISTOGRAM_VP9 };
+static const CodecInfo kLegacyVP9CodecInfo = {"vp9", CodecInfo::VIDEO, NULL,
+ CodecInfo::HISTOGRAM_VP9};
+static const CodecInfo kVP9CodecInfo = {"vp09.*", CodecInfo::VIDEO, NULL,
+ CodecInfo::HISTOGRAM_VP9};
static const CodecInfo kVorbisCodecInfo = { "vorbis", CodecInfo::AUDIO, NULL,
CodecInfo::HISTOGRAM_VORBIS };
static const CodecInfo kOpusCodecInfo = { "opus", CodecInfo::AUDIO, NULL,
CodecInfo::HISTOGRAM_OPUS };
static const CodecInfo* kVideoWebMCodecs[] = {
- &kVP8CodecInfo,
- &kVP9CodecInfo,
- &kVorbisCodecInfo,
- &kOpusCodecInfo,
- NULL
-};
+ &kVP8CodecInfo, &kLegacyVP9CodecInfo, &kVP9CodecInfo,
+ &kVorbisCodecInfo, &kOpusCodecInfo, NULL};
static const CodecInfo* kAudioWebMCodecs[] = {
&kVorbisCodecInfo,
« no previous file with comments | « media/base/video_codecs_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698