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

Unified Diff: components/cdm/browser/cdm_message_filter_android.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 | « chromecast/renderer/media/key_systems_cast.cc ('k') | media/base/eme_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cdm/browser/cdm_message_filter_android.cc
diff --git a/components/cdm/browser/cdm_message_filter_android.cc b/components/cdm/browser/cdm_message_filter_android.cc
index 4d7e99d07e06bb3be97a1b5487c25a4b6a96d56c..655739cad95dd026cc537b56d833bdd05d315235 100644
--- a/components/cdm/browser/cdm_message_filter_android.cc
+++ b/components/cdm/browser/cdm_message_filter_android.cc
@@ -55,6 +55,10 @@ const CodecInfo<media::AudioCodec> kAudioCodecsToQuery[] = {
{media::EME_CODEC_WEBM_VORBIS, media::kCodecVorbis, "video/webm"},
#if BUILDFLAG(USE_PROPRIETARY_CODECS)
{media::EME_CODEC_MP4_AAC, media::kCodecAAC, "video/mp4"},
+#if BUILDFLAG(ENABLE_AC3_EAC3_AUDIO_DEMUXING)
+ {media::EME_CODEC_MP4_AC3, media::kCodecAC3, "video/mp4"},
+ {media::EME_CODEC_MP4_EAC3, media::kCodecEAC3, "video/mp4"},
+#endif
#endif // BUILDFLAG(USE_PROPRIETARY_CODECS)
};
« no previous file with comments | « chromecast/renderer/media/key_systems_cast.cc ('k') | media/base/eme_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698