summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-12-13 21:41:11 +0000
committersr55 <[email protected]>2017-12-13 21:41:11 +0000
commitcfc0989df7f651de0eb64069fc9a9d2ca43171dd (patch)
tree787f482c53840ad412b52ef308b82c42c102cd19 /win/CS/HandBrakeWPF/ViewModels
parent78bd4b97883b4010306e291ec1e934a71afaa73a (diff)
WinGui: Make the QSV Decoding options clearer.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
index 4b7a4ac3e..b0a47cde0 100644
--- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
@@ -89,7 +89,7 @@ namespace HandBrakeWPF.ViewModels
private bool removePunctuation;
private bool resetWhenDoneAction;
- private bool disableQuickSyncDecoding;
+ private bool enableQuickSyncDecoding;
private bool showQueueInline;
private bool pauseOnLowDiskspace;
private long pauseOnLowDiskspaceLevel;
@@ -971,20 +971,20 @@ namespace HandBrakeWPF.ViewModels
/// <summary>
/// Gets or sets a value indicating whether disable quick sync decoding.
/// </summary>
- public bool DisableQuickSyncDecoding
+ public bool EnableQuickSyncDecoding
{
get
{
- return this.disableQuickSyncDecoding;
+ return this.enableQuickSyncDecoding;
}
set
{
- if (value.Equals(this.disableQuickSyncDecoding))
+ if (value.Equals(this.enableQuickSyncDecoding))
{
return;
}
- this.disableQuickSyncDecoding = value;
- this.NotifyOfPropertyChange(() => this.DisableQuickSyncDecoding);
+ this.enableQuickSyncDecoding = value;
+ this.NotifyOfPropertyChange(() => this.EnableQuickSyncDecoding);
this.NotifyOfPropertyChange(() => this.IsUseQsvDecAvailable);
}
}
@@ -1012,7 +1012,7 @@ namespace HandBrakeWPF.ViewModels
{
get
{
- return IsQuickSyncAvailable && !this.DisableQuickSyncDecoding;
+ return IsQuickSyncAvailable && this.EnableQuickSyncDecoding;
}
}
@@ -1325,7 +1325,7 @@ namespace HandBrakeWPF.ViewModels
// #############################
// Video
// #############################
- this.DisableQuickSyncDecoding = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableQuickSyncDecoding);
+ this.EnableQuickSyncDecoding = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableQuickSyncDecoding);
this.SelectedScalingMode = this.userSettingService.GetUserSetting<VideoScaler>(UserSettingConstants.ScalingMode);
this.UseQSVDecodeForNonQSVEnc = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.UseQSVDecodeForNonQSVEnc);
@@ -1460,7 +1460,7 @@ namespace HandBrakeWPF.ViewModels
this.userSettingService.SetUserSetting(UserSettingConstants.VLCPath, this.VLCPath);
/* Video */
- this.userSettingService.SetUserSetting(UserSettingConstants.DisableQuickSyncDecoding, this.DisableQuickSyncDecoding);
+ this.userSettingService.SetUserSetting(UserSettingConstants.EnableQuickSyncDecoding, this.EnableQuickSyncDecoding);
this.userSettingService.SetUserSetting(UserSettingConstants.ScalingMode, this.SelectedScalingMode);
this.userSettingService.SetUserSetting(UserSettingConstants.UseQSVDecodeForNonQSVEnc, this.UseQSVDecodeForNonQSVEnc);