summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2015-01-11 18:12:28 +0000
committersr55 <[email protected]>2015-01-11 18:12:28 +0000
commit04392778932f7e6f424039f30d775ac4e1fd7b2b (patch)
treefa07d529e0a7fbb720173f40ae925e492ab117cb /win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
parent095576f3fbb5c96c9ef58fe45af9390bf718e1dd (diff)
WinGui: Make LibHB a first class citizen for encoding. (Now on by default). Update for JSON API changes. Bug fixes in subtitles and twopass encoding.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6732 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
index 7c679d033..b63cd3d68 100644
--- a/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
+++ b/win/CS/HandBrakeWPF/Services/EncodeServiceWrapper.cs
@@ -49,7 +49,7 @@ namespace HandBrakeWPF.Services
/// </param>
public EncodeServiceWrapper(IUserSettingService userSettingService)
{
- var useLibHb = AppArguments.EnableLibHB ? AppArguments.EnableLibHB : userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableLibHb);
+ var useLibHb = AppArguments.UseLibHb ? AppArguments.UseLibHb : userSettingService.GetUserSetting<bool>(UserSettingConstants.UseLibHb);
var useProcessIsolation =
userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableProcessIsolation);
var port = userSettingService.GetUserSetting<string>(UserSettingConstants.ServerPort);
@@ -70,7 +70,6 @@ namespace HandBrakeWPF.Services
catch (Exception exc)
{
// Try to recover from errors.
- userSettingService.SetUserSetting(UserSettingConstants.EnableLibHb, false);
throw new GeneralApplicationException(
"Unable to initialise LibHB or Background worker service",
"Falling back to using HandBrakeCLI.exe. Setting has been reset",