From 75d3d924aa13e8f2c093f60142467db5cadfc03a Mon Sep 17 00:00:00 2001 From: sr55 Date: Thu, 22 Sep 2016 20:14:54 +0100 Subject: WinGui: Fix log display in the GUI where the start of a log could be cut off. --- win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'win/CS/HandBrakeWPF/Services/Encode') diff --git a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs index df86058df..ec0680fb1 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs @@ -73,6 +73,8 @@ namespace HandBrakeWPF.Services.Encode // Create a new HandBrake instance // Setup the HandBrake Instance + this.log.Reset(); // Reset so we have a clean log for the start of the encode. + this.ServiceLogMessage("Starting Encode ..."); this.instance = task.IsPreviewEncode ? HandBrakeInstanceManager.GetPreviewInstance(configuration.Verbosity) : HandBrakeInstanceManager.GetEncodeInstance(configuration.Verbosity); this.instance.EncodeCompleted += this.InstanceEncodeCompleted; @@ -84,9 +86,6 @@ namespace HandBrakeWPF.Services.Encode // Verify the Destination Path Exists, and if not, create it. this.VerifyEncodeDestinationPath(task); - this.log.Reset(); // Reset so we have a clean log for the start of the encode. - this.ServiceLogMessage("Starting Encode ..."); - // Get an EncodeJob object for the Interop Library this.instance.StartEncode(EncodeFactory.Create(task, configuration)); -- cgit v1.2.3