Read more metadata from AVFoundation.

This commit is contained in:
Damiano Galassi committed 2016-08-25 16:54:22 +02:00
1 parent fba1c38ec0
commit bbc16bce68
4 files changed
+79 -13

No files matched your search

+2 -2
View File
@@ -1189,9 +1189,9 @@ static const genreType_t genreType_strings[] = {
MP4ItmfData *data = &item->dataList.elements[j];
NSData *xmlData = [NSData dataWithBytes:data->value length:data->valueSize];
NSDictionary *dma = (NSDictionary *)[NSPropertyListSerialization propertyListWithData:xmlData
options:NSPropertyListMutableContainersAndLeaves
options:NSPropertyListImmutable
format:nil error:NULL];
NSString *tag = nil;
if ([tag = [self stringFromArray:dma[@"cast"] key:@"name"] length]) {