summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBQueueController.m')
-rw-r--r--macosx/HBQueueController.m3
1 files changed, 2 insertions, 1 deletions
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;
}