]> granicus.if.org Git - handbrake/commitdiff
MacGui: change the overwrite method to check only for ready and working jobs. For...
authorDamiano Galassi <damiog@gmail.com>
Fri, 2 Nov 2018 10:14:23 +0000 (11:14 +0100)
committerDamiano Galassi <damiog@gmail.com>
Fri, 2 Nov 2018 10:14:23 +0000 (11:14 +0100)
macosx/HBQueueController.m

index 3a0840293176249f5161b299f60bb8feb27ac829..83bb702f08385d21109922ee434672b70b936e22 100644 (file)
@@ -294,7 +294,8 @@ static void *HBControllerQueueCoreContext = &HBControllerQueueCoreContext;
 
     for (HBJob *item in self.jobs)
     {
-        if ([item.completeOutputURL isEqualTo:url])
+        if ((item.state == HBJobStateReady || item.state == HBJobStateWorking)
+            && [item.completeOutputURL isEqualTo:url])
         {
             return YES;
         }