Fixed for files sent to queue too.
This commit is contained in:
1 parent
212cb9e601
commit
7bb8f533ca
1 file changed
+4
@@ -629,8 +629,12 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
|||||||
[panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) {
|
[panel beginSheetModalForWindow:documentWindow completionHandler:^(NSInteger result) {
|
||||||
if (result == NSFileHandlingPanelOKButton) {
|
if (result == NSFileHandlingPanelOKButton) {
|
||||||
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
|
NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init];
|
||||||
|
|
||||||
if ([_64bit_data state]) [attributes setObject:@YES forKey:MP4264BitData];
|
if ([_64bit_data state]) [attributes setObject:@YES forKey:MP4264BitData];
|
||||||
if ([_64bit_time state]) [attributes setObject:@YES forKey:MP4264BitTime];
|
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];
|
SBQueueItem *item = [SBQueueItem itemWithMP4:self.mp4 url:[panel URL] attributes:attributes];
|
||||||
[queue addItem:item];
|
[queue addItem:item];
|
||||||
|
|||||||
Reference in new issue
Block a user