diff options
author | sr55 <[email protected]> | 2014-08-25 10:28:41 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-08-25 10:28:41 +0000 |
commit | d4a76e2f9aef0323281952ccc5eb0c6cf9242ab3 (patch) | |
tree | 69410bfbf56779537e7d7ee74864e8b57273d233 /win/CS | |
parent | 6e21d9ce34a61d414220e082e6257f4103f3c0db (diff) |
WinGui: Queue only checks duplicates against waiting items now.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6358 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs index b5b8983ea..e74f25391 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueProcessor.cs @@ -220,7 +220,7 @@ namespace HandBrake.ApplicationServices.Services /// </returns>
public bool CheckForDestinationPathDuplicates(string destination)
{
- return this.queue.Any(job => job.Task != null && job.Task.Destination != null && job.Task.Destination.Contains(destination.Replace("\\\\", "\\")));
+ return this.queue.Any(job => job.Task != null && job.Status == QueueItemStatus.Waiting && job.Task.Destination != null && job.Task.Destination.Contains(destination.Replace("\\\\", "\\")));
}
/// <summary>
|