Add support for hvcE and avcE boxes.
This commit is contained in:
5 files changed
+76
-17
No files matched your search
@@ -331,6 +331,16 @@ MP42_OBJC_DIRECT_MEMBERS
|
||||
|
||||
videoTrack.dolbyVision = dv;
|
||||
}
|
||||
|
||||
CFDataRef dvELConfiguration = CFDictionaryGetValue(atoms, @"hvcE");
|
||||
|
||||
if (!dvELConfiguration) {
|
||||
dvELConfiguration = CFDictionaryGetValue(atoms, @"avcE");
|
||||
}
|
||||
|
||||
if (dvELConfiguration) {
|
||||
videoTrack.dolbyVisionELConfiguration = (__bridge NSData *)(dvELConfiguration);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user