Make a MP42Chapter method clearer
This commit is contained in:
4 files changed
+5
-5
No files matched your search
@@ -106,7 +106,7 @@ MP42_OBJC_DIRECT_MEMBERS
|
||||
for (AVMetadataItem *item in chapterData.items) {
|
||||
CMTime time = item.time;
|
||||
NSString *title = item.stringValue ? item.stringValue : @"";
|
||||
[chapters addChapter:title duration:time.value * time.timescale / 1000];
|
||||
[chapters addChapter:title timestamp:time.value * time.timescale / 1000];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user