diff options
author | sr55 <[email protected]> | 2020-06-05 14:15:21 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2020-06-05 14:15:21 +0100 |
commit | 39934c127ad0ba1388ed7aa487656b6681f371c8 (patch) | |
tree | 8d190a6e3bb9e122c6f11a7682c75a36883d5cf2 /win | |
parent | afc7e2a2c94bc81b425063361e87e9351c16dd73 (diff) |
WinGui: Fix an issue where jobs added to the queue would not utilise an inactive worker instance where the job was added after the queue started. Fixes #2910
Diffstat (limited to 'win')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Queue/QueueService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs index 2eb7cd7ce..9bc3132aa 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/QueueService.cs @@ -133,6 +133,11 @@ namespace HandBrakeWPF.Services.Queue { this.queue.Add(job); this.InvokeQueueChanged(EventArgs.Empty); + + if (this.IsEncoding) + { + this.ProcessNextJob(); + } } } |