summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
index e0fdee4e2..7e717c20e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs
@@ -379,6 +379,11 @@ namespace HandBrakeWPF.ViewModels
/// </summary>
private bool addForeignAudioScanTrack;
+ /// <summary>
+ /// The is cl scaling.
+ /// </summary>
+ private bool isClScaling;
+
#endregion
#region Constructors and Destructors
@@ -1485,6 +1490,7 @@ namespace HandBrakeWPF.ViewModels
set
{
this.selectedScalingMode = value;
+ this.IsClScaling = value == VideoScaler.BicubicCl;
}
}
@@ -1509,6 +1515,27 @@ namespace HandBrakeWPF.ViewModels
return new BindingList<VideoScaler>(EnumHelper<VideoScaler>.GetEnumList().ToList());
}
}
+
+ /// <summary>
+ /// Gets or sets a value indicating whether is cl scaling.
+ /// </summary>
+ public bool IsClScaling
+ {
+ get
+ {
+ return this.isClScaling;
+ }
+ set
+ {
+ if (value.Equals(this.isClScaling))
+ {
+ return;
+ }
+ this.isClScaling = value;
+ this.NotifyOfPropertyChange(() => this.IsClScaling);
+ }
+ }
+
#endregion
#endregion