Fixed for files sent to queue too.

This commit is contained in:
Damiano Galassi committed 2014-11-21 11:57:57 +01:00
1 parent 212cb9e601
commit 7bb8f533ca
1 file changed
+4
+4
View File
@@ -629,8 +629,12 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
[panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) {
if (result == NSFileHandlingPanelOKButton) {
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
if ([_64bit_data state]) [attributes setObject:@YES forKey:MP4264BitData];
if ([_64bit_time state]) [attributes setObject:@YES forKey:MP4264BitTime];
if ([[[NSUserDefaults standardUserDefaults] valueForKey:@"chaptersPreviewTrack"] boolValue]) {
[attributes setObject:@YES forKey:MP42GenerateChaptersPreviewTrack];
}
SBQueueItem *item = [SBQueueItem itemWithMP4:self.mp4 url:[panel URL] attributes:attributes];
[queue addItem:item];