summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
diff options
context:
space:
mode:
authordynaflash <[email protected]>2007-09-11 16:21:27 +0000
committerdynaflash <[email protected]>2007-09-11 16:21:27 +0000
commit279e3f1b54649ddb9b8410a2e8b2674114d5cc0b (patch)
tree042b2358913beda7986e96e40da3902cff804f0e /macosx/Controller.mm
parent35c3cb421abbf6c79d640b5b9695198a75fe963b (diff)
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
Diffstat (limited to 'macosx/Controller.mm')
-rw-r--r--macosx/Controller.mm8
1 files changed, 7 insertions, 1 deletions
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.