Add experimental av1 support.

This commit is contained in:
Damiano Galassi committed 2021-05-31 12:09:29 +02:00
1 parent 453ccdf598
commit e42154278f
6 files changed
+42 -2

No files matched your search

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