summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-11-08 22:00:51 +0000
committerdynaflash <[email protected]>2010-11-08 22:00:51 +0000
commit38c3a76f0ddf39bf6cf3cada5e33cc368a6638ce (patch)
tree9fab9cfc02685be250e1d0f67cbc87a916ae13c3 /macosx
parent1c0082a4cb2670b9c0e5f5cbf1fc961a67e521bf (diff)
MacGui: Fix queue and auto m4v ...
- patch (as previous) by circleone - Fix it so that the queue does not attempt to process an extra queue item when the output file already exists. - Using AC3 Passthru as the codec will trigger the output file to have the .m4v extension when using mp4. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3664 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 3cac7cc46..898bcfa4f 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4009,8 +4009,9 @@ bool one_burned = FALSE;
NSString *destinationDirectory = [[fDstFile2Field stringValue] stringByDeletingLastPathComponent];
[[NSUserDefaults standardUserDefaults] setObject:destinationDirectory forKey:@"LastDestinationDirectory"];
+ currentQueueEncodeIndex = [self getNextPendingQueueIndex];
[self performNewQueueScan:[[QueueFileArray objectAtIndex:currentQueueEncodeIndex] objectForKey:@"SourcePath"] scanTitleNum:[[[QueueFileArray objectAtIndex:currentQueueEncodeIndex] objectForKey:@"TitleNumber"]intValue]];
-
+
}
}
@@ -4552,7 +4553,7 @@ bool one_burned = FALSE;
NSString * extension = @"mp4";
- BOOL anyCodecAC3 = [fAudioDelegate anyCodecMatches: HB_ACODEC_AC3];
+ BOOL anyCodecAC3 = [fAudioDelegate anyCodecMatches: HB_ACODEC_AC3] || [fAudioDelegate anyCodecMatches: HB_ACODEC_AC3_PASS];
if (YES == anyCodecAC3 ||
[fCreateChapterMarkers state] == NSOnState ||
[[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultMpegName"] > 0 )