From 38c3a76f0ddf39bf6cf3cada5e33cc368a6638ce Mon Sep 17 00:00:00 2001 From: dynaflash Date: Mon, 8 Nov 2010 22:00:51 +0000 Subject: 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 --- macosx/Controller.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'macosx') 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 ) -- cgit v1.2.3