diff options
author | sr55 <[email protected]> | 2016-09-22 20:14:54 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2016-09-22 20:14:54 +0100 |
commit | 75d3d924aa13e8f2c093f60142467db5cadfc03a (patch) | |
tree | 0a0e297a1ba532f6c81c1c15c290ff4ac71c612f /win/CS/HandBrakeWPF | |
parent | da6943835b433e52ac9001c1b1daff5ad2630a0c (diff) |
WinGui: Fix log display in the GUI where the start of a log could be cut off.
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs | 5 |
1 files changed, 2 insertions, 3 deletions
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)); |