Fixed chapters preview for file sent to queue.

This commit is contained in:
Damiano Galassi committed 2014-12-04 11:23:29 +01:00
1 parent 90853892d2
commit ea6b9b422d
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -83,6 +83,14 @@
_fileURL = [[NSURL fileURLWithPath:[MP4.URL path]] retain];
_destURL = [[NSURL fileURLWithPath:[MP4.URL path]] retain];
NSMutableDictionary *attributes = [NSMutableDictionary dictionary];
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"chaptersPreviewTrack"] boolValue]) {
[attributes setObject:@YES forKey:MP42GenerateChaptersPreviewTrack];
}
_attributes = [attributes copy];
}
return self;