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

Unified Diff: chrome/renderer/media/chrome_key_systems.cc

Issue 1624703002: Implement support for vp9 in ISO-BMFF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | media/base/eme_constants.h » ('j') | media/base/eme_constants.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5042cf14e26e6d9b6fbd4a2a4d678b4cc6e0d891..ed92b1ae8cacf579d2d19b04947ec2326e7f0414 100644
--- a/chrome/renderer/media/chrome_key_systems.cc
+++ b/chrome/renderer/media/chrome_key_systems.cc
@@ -184,9 +184,9 @@ static void AddPepperBasedWidevine(
for (size_t i = 0; i < codecs.size(); ++i) {
if (codecs[i] == kCdmSupportedCodecVp8)
- supported_codecs |= media::EME_CODEC_WEBM_VP8;
+ supported_codecs |= media::EME_CODEC_WEBM_VP8 | media::EME_CODEC_MP4_VP8;
sandersd (OOO until July 31) 2016/01/26 21:21:20 If we are going with leaving MP4 as requiring prop
kqyang 2016/01/27 00:17:42 Done.
if (codecs[i] == kCdmSupportedCodecVp9)
- supported_codecs |= media::EME_CODEC_WEBM_VP9;
+ supported_codecs |= media::EME_CODEC_WEBM_VP9 | media::EME_CODEC_MP4_VP9;
#if defined(USE_PROPRIETARY_CODECS)
if (codecs[i] == kCdmSupportedCodecAvc1)
supported_codecs |= media::EME_CODEC_MP4_AVC1;
« no previous file with comments | « no previous file | media/base/eme_constants.h » ('j') | media/base/eme_constants.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698