summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/Services/Encode/LibEncode.cs5
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));