Added setting to set the position of the rendered chapter previews. Default is the middle of the chapter.

This commit is contained in:
Brian Gerfort committed 2017-05-06 21:36:20 +02:00
1 parent a872eda5d3
commit 42f0431b25
4 files changed
+104 -51

No files matched your search

+1
View File
@@ -443,6 +443,7 @@ static NSDictionary *_detailMonospacedAttr;
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"chaptersPreviewTrack"] boolValue]) {
attributes[MP42GenerateChaptersPreviewTrack] = @YES;
attributes[MP42ChaptersPreviewPosition] = [NSNumber numberWithFloat:[[NSUserDefaults standardUserDefaults] floatForKey:@"SBChaptersPreviewPosition"]];
}
if (_64bit_data.state) { attributes[MP4264BitData] = @YES; }