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

Unified Diff: components/cdm/browser/cdm_message_filter_android.cc

Issue 2809013002: EME contentType checks DolbyVision (Closed)
Patch Set: Typo 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 849b716a379d6884a38d0eeb3f56be32ca7873f2..4d7e99d07e06bb3be97a1b5487c25a4b6a96d56c 100644
--- a/components/cdm/browser/cdm_message_filter_android.cc
+++ b/components/cdm/browser/cdm_message_filter_android.cc
@@ -41,6 +41,12 @@ const CodecInfo<media::VideoCodec> kVideoCodecsToQuery[] = {
#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
{media::EME_CODEC_MP4_HEVC, media::kCodecHEVC, "video/mp4"},
#endif
+#if BUILDFLAG(ENABLE_DOLBY_VISION_DEMUXING)
+ {media::EME_CODEC_MP4_DV_AVC, media::kCodecDolbyVision, "video/mp4"},
+#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
+ {media::EME_CODEC_MP4_DV_HEVC, media::kCodecDolbyVision, "video/mp4"},
+#endif
+#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