From: Damiano Galassi Date: Fri, 2 Nov 2018 10:14:23 +0000 (+0100) Subject: MacGui: change the overwrite method to check only for ready and working jobs. For... X-Git-Tag: 1.2.0~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2efd759f074b9aa9d59795f7a2169c599030b94f;p=handbrake MacGui: change the overwrite method to check only for ready and working jobs. For completed jobs we already check if there is an actual file on disk. --- diff --git a/macosx/HBQueueController.m b/macosx/HBQueueController.m index 3a0840293..83bb702f0 100644 --- a/macosx/HBQueueController.m +++ b/macosx/HBQueueController.m @@ -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; }