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

Unified Diff: media/base/key_systems.cc

Issue 1909313002: Support HEVC through EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 6 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
« chromecast/chromecast.gyp ('K') | « media/base/eme_constants.h ('k') | no next file » | 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 fab743252d9f227af048d2fae5b6f52c493b4548..b593ab146ff7f7bf022316bd7c5e6e2dcc80c7cf 100644
--- a/media/base/key_systems.cc
+++ b/media/base/key_systems.cc
@@ -62,7 +62,11 @@ static const NamedCodec kCodecStrings[] = {
#endif
{"mp4a", EME_CODEC_MP4_AAC}, // AAC.
{"avc1", EME_CODEC_MP4_AVC1}, // AVC1.
- {"avc3", EME_CODEC_MP4_AVC1} // AVC3.
+ {"avc3", EME_CODEC_MP4_AVC1}, // AVC3.
+#if BUILDFLAG(ENABLE_HEVC_DEMUXING)
+ {"hev1", EME_CODEC_MP4_HEVC}, // HEV1.
+ {"hvc1", EME_CODEC_MP4_HEVC}, // HVC1.
+#endif
#endif // defined(USE_PROPRIETARY_CODECS)
};
« chromecast/chromecast.gyp ('K') | « media/base/eme_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698