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

Unified Diff: media/base/key_systems.cc

Issue 2853123003: EME contentType checks for AC3/EAC3 (Closed)
Patch Set: int32 Created 3 years, 8 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 | « media/base/eme_constants.h ('k') | media/base/key_systems_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/key_systems.cc
diff --git a/media/base/key_systems.cc b/media/base/key_systems.cc
index 708750ac82b6f41ea9b6bdac8c88e9b8831f4dd9..4e187a0142173c5d319d2cdefe2ef4032de18234 100644
--- a/media/base/key_systems.cc
+++ b/media/base/key_systems.cc
@@ -59,7 +59,11 @@ static const NamedCodec kCodecStrings[] = {
{"vp9.0", EME_CODEC_WEBM_VP9}, // VP9.
{"vp09", EME_CODEC_COMMON_VP9}, // New multi-part VP9 for WebM and MP4.
#if BUILDFLAG(USE_PROPRIETARY_CODECS)
- {"mp4a", EME_CODEC_MP4_AAC}, // AAC.
+ {"mp4a", EME_CODEC_MP4_AAC}, // AAC.
+#if BUILDFLAG(ENABLE_AC3_EAC3_AUDIO_DEMUXING)
+ {"ac-3", EME_CODEC_MP4_AC3}, // AC3.
+ {"ec-3", EME_CODEC_MP4_EAC3}, // EAC3.
+#endif
{"avc1", EME_CODEC_MP4_AVC1}, // AVC1.
{"avc3", EME_CODEC_MP4_AVC1}, // AVC3.
#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
« no previous file with comments | « media/base/eme_constants.h ('k') | media/base/key_systems_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698