From 59853dd5e1f2b504167340fa11c79febe18b8f34 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 23 Apr 2016 17:33:38 +0100 Subject: WinGui: If you invoke HandBrake.exe with "--auto-start-queue" it will automatically start the queue and not prompt to recover the queue. Behaviour Change: When reloading the queue, any job that is "In progress" will be marked as "Error" now. We don't know if HandBrake crashed or the system restarted. This avoids any crash -> restart loops that may occur. This allows HandBrake to get on with the rest of the queue until the user can action the failed encode. --- win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Services/Queue') diff --git a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs index 46df938ce..854352c41 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/QueueProcessor.cs @@ -454,7 +454,7 @@ namespace HandBrakeWPF.Services.Queue // Reset InProgress/Error to Waiting so it can be processed if (item.Status == QueueItemStatus.InProgress) { - item.Status = QueueItemStatus.Waiting; + item.Status = QueueItemStatus.Error; } this.queue.Add(item); -- cgit v1.2.3