diff options
author | sr55 <[email protected]> | 2017-08-28 15:16:40 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2017-08-28 15:16:40 +0100 |
commit | ec19d8520ea39761053cccb2744931f0195b7bba (patch) | |
tree | c141be678fb13ee103cc2831737eaad40734b0c9 /win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs | |
parent | 871ffc2ed52c5480b4765a21d12e18173c1c0eac (diff) |
WinGui: Putting in some back-end infrastructure into the queue screen to support future features + some misc tidy up.
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs index 8f7dee945..b822b976d 100644 --- a/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs +++ b/win/CS/HandBrakeWPF/Services/Encode/EncodeBase.cs @@ -131,7 +131,7 @@ namespace HandBrakeWPF.Services.Encode /// <param name="configuration"> /// The configuration. /// </param> - public void ProcessLogs(string destination, bool isPreview, HBConfiguration configuration) + public string ProcessLogs(string destination, bool isPreview, HBConfiguration configuration) { try { @@ -162,11 +162,15 @@ namespace HandBrakeWPF.Services.Encode { this.WriteFile(logContent, Path.Combine(configuration.SaveLogCopyDirectory, encodeLogFile)); } + + return encodeLogFile; } catch (Exception exc) { Debug.WriteLine(exc); // This exception doesn't warrent user interaction, but it should be logged } + + return null; } /// <summary> |