Index: chrome/renderer/media/chrome_key_systems.cc |
diff --git a/chrome/renderer/media/chrome_key_systems.cc b/chrome/renderer/media/chrome_key_systems.cc |
index de68108fbc174dce1e627dea1f0ac6b9cccd1299..2f51d297aaf491a675a5c844b63ad4d1b1b38d71 100644 |
--- a/chrome/renderer/media/chrome_key_systems.cc |
+++ b/chrome/renderer/media/chrome_key_systems.cc |
@@ -196,13 +196,13 @@ static void AddPepperBasedWidevine( |
for (size_t i = 0; i < codecs.size(); ++i) { |
if (codecs[i] == kCdmSupportedCodecVp8) |
supported_codecs |= media::EME_CODEC_WEBM_VP8; |
- if (codecs[i] == kCdmSupportedCodecVp9) |
+ if (codecs[i] == kCdmSupportedCodecVp9) { |
supported_codecs |= media::EME_CODEC_WEBM_VP9; |
+ supported_codecs |= media::EME_CODEC_COMMON_VP9; |
+ } |
#if BUILDFLAG(USE_PROPRIETARY_CODECS) |
if (codecs[i] == kCdmSupportedCodecAvc1) |
supported_codecs |= media::EME_CODEC_MP4_AVC1; |
- if (codecs[i] == kCdmSupportedCodecVp9) |
- supported_codecs |= media::EME_CODEC_MP4_VP9; |
#endif // BUILDFLAG(USE_PROPRIETARY_CODECS) |
} |