diff options
author | sr55 <[email protected]> | 2013-09-17 21:06:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-09-17 21:06:20 +0000 |
commit | 20b4e6c65010d656dafdf5b3f17ad0fcb7057b22 (patch) | |
tree | 163edb712d0b062ee9e4dfd559dcb92ede9f156e /win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | |
parent | 5d487e5c023e9c5c8252b0449e007248bea0e8a9 (diff) |
WinGui: Remove the option to disable libhb features as it's now vital to have this dll present.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5785 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index e8702e60f..33403b5b3 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -14,6 +14,7 @@ namespace HandBrakeWPF.ViewModels using System.ComponentModel;
using System.Globalization;
using System.Linq;
+ using System.ServiceModel.Channels;
using System.Windows;
using Caliburn.Micro;
@@ -199,7 +200,7 @@ namespace HandBrakeWPF.ViewModels if (!object.Equals(value, this.useAdvancedTab))
{
// Set the Advanced Tab up with the current settings, if we can.
- if (value && !this.userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibHbFeatures))
+ if (value)
{
this.Task.AdvancedEncoderOptions = this.GetActualx264Query();
}
@@ -1133,7 +1134,7 @@ namespace HandBrakeWPF.ViewModels /// </returns>
private string GetActualx264Query()
{
- if (this.userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibHbFeatures))
+ if (!GeneralUtilities.IsLibHbPresent)
{
return string.Empty; // Feature is disabled.
}
|