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

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

Issue 2881443002: Add EME contentType checks for mp2t (Closed)
Patch Set: Created 3 years, 7 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: 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 8adab716db1e1a8b730ff942dbe15d45fe22b925..a9d427ef8363dc87e083d6cc646aa4a6e8a88cdf 100644
--- a/components/cdm/browser/cdm_message_filter_android.cc
+++ b/components/cdm/browser/cdm_message_filter_android.cc
@@ -37,7 +37,7 @@ const CodecInfo<media::VideoCodec> kVideoCodecsToQuery[] = {
{media::EME_CODEC_WEBM_VP8, media::kCodecVP8, "video/webm"},
{media::EME_CODEC_WEBM_VP9, media::kCodecVP9, "video/webm"},
#if BUILDFLAG(USE_PROPRIETARY_CODECS)
- {media::EME_CODEC_MP4_AVC1, media::kCodecH264, "video/mp4"},
+ {media::EME_CODEC_COMMON_AVC1, media::kCodecH264, "video/mp4"},
#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
{media::EME_CODEC_MP4_HEVC, media::kCodecHEVC, "video/mp4"},
#endif

Powered by Google App Engine
This is Rietveld 408576698