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

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..9ca3706e82d2d3c88e2d43e2f83a132ac8fdab3f 100644
--- a/chrome/renderer/media/chrome_key_systems.cc
+++ b/chrome/renderer/media/chrome_key_systems.cc
@@ -188,6 +188,10 @@ static void AddPepperBasedWidevine(
if (codecs[i] == kCdmSupportedCodecVp9)
supported_codecs |= media::EME_CODEC_WEBM_VP9;
#if defined(USE_PROPRIETARY_CODECS)
+ if (codecs[i] == kCdmSupportedCodecVp8)
ddorwin 2016/01/27 01:39:14 Missing tests for EME (see chrome/browser/media/en
kqyang 2016/01/29 00:34:16 Done.
+ supported_codecs |= media::EME_CODEC_MP4_VP8;
+ if (codecs[i] == kCdmSupportedCodecVp9)
+ supported_codecs |= media::EME_CODEC_MP4_VP9;
if (codecs[i] == kCdmSupportedCodecAvc1)
supported_codecs |= media::EME_CODEC_MP4_AVC1;
#endif // defined(USE_PROPRIETARY_CODECS)
« 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