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, |