Preliminary HEVC support.

This commit is contained in:
Damiano Galassi committed 2016-08-10 09:14:28 +02:00
1 parent d4ff9c6fa7
commit 71ea7afd67
3 files changed
+12 -1

No files matched your search

+3
View File
@@ -640,6 +640,9 @@
if (code == kCMVideoCodecType_H264) {
magicCookie = CFDictionaryGetValue(atoms, @"avcC");
}
else if (code == kCMVideoCodecType_HEVC || code == 'hev1') {
magicCookie = CFDictionaryGetValue(atoms, @"hvcC");
}
else if (code == kCMVideoCodecType_MPEG4Video) {
magicCookie = CFDictionaryGetValue(atoms, @"esds");
}