From: dynaflash Date: Tue, 11 Sep 2007 16:21:27 +0000 (+0000) Subject: MacGui: Fix starting an encode when nothing is in the queue bug which was introduced... X-Git-Tag: 0.9.1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=279e3f1b54649ddb9b8410a2e8b2674114d5cc0b;p=handbrake MacGui: Fix starting an encode when nothing is in the queue bug which was introduced in 949. - adds "addToQueue" method back to the "Rip" method if the queue is currently empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@950 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 86d18ff13..74622d19e 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1710,9 +1710,15 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It } else { + /* We add a the encode to the queue if there is nothing in it and then start our encode. + This should be reviewed by travistex to verify queue sync, etc.*/ + if( hb_count( fHandle ) == 0) + { + [self doAddToQueue]; + } [self doRip]; } -} +} /* overWriteAlertDone: called from the alert posted by Rip: that asks the user if they want to overwrite an exiting movie file.