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

Unified Diff: media/base/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: Add a flag ENABLE_MP4_VP8_VP9_DEMUXING for this change. 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
Index: media/base/key_systems.cc
diff --git a/media/base/key_systems.cc b/media/base/key_systems.cc
index 6c2c8c2db31312b7074a4cc816a4ce3f9fb1a765..95599a07bc3c5e510b795d96e94054ad855c4ddc 100644
--- a/media/base/key_systems.cc
+++ b/media/base/key_systems.cc
@@ -18,6 +18,7 @@
#include "media/base/key_systems_support_uma.h"
#include "media/base/media_client.h"
#include "media/cdm/key_system_names.h"
+#include "media/media_features.h"
#include "third_party/widevine/cdm/widevine_cdm_common.h"
namespace media {
@@ -58,6 +59,10 @@ static NamedCodec kCodecStrings[] = {
{"vp9", EME_CODEC_WEBM_VP9},
{"vp9.0", EME_CODEC_WEBM_VP9},
#if defined(USE_PROPRIETARY_CODECS)
+#if BUILDFLAG(ENABLE_MP4_VP8_VP9_DEMUXING)
+ {"vp08", EME_CODEC_MP4_VP8},
+ {"vp09", EME_CODEC_MP4_VP9},
+#endif
{"mp4a", EME_CODEC_MP4_AAC},
{"avc1", EME_CODEC_MP4_AVC1},
{"avc3", EME_CODEC_MP4_AVC1}

Powered by Google App Engine
This is Rietveld 408576698