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

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: rebase Created 4 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: media/base/key_systems.cc
diff --git a/media/base/key_systems.cc b/media/base/key_systems.cc
index 675df7b3960760978597bb32a6a92d89e245066f..3970182dbb7d54f9e18ae8d104890374024c651c 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)
};

Powered by Google App Engine
This is Rietveld 408576698