From 279e3f1b54649ddb9b8410a2e8b2674114d5cc0b Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 11 Sep 2007 16:21:27 +0000 Subject: [PATCH] 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 --- macosx/Controller.mm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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. -- 2.40.0