Make a MP42Chapter method clearer

This commit is contained in:
Damiano Galassi committed 2025-07-25 17:35:42 +02:00
1 parent 47aadecfff
commit f104a7c69a
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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];
}
}
}