summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-04-01 17:07:05 +0000
committersr55 <[email protected]>2012-04-01 17:07:05 +0000
commitb07bb66a24127135b5b921db6486f1cad45f42cc (patch)
tree6b02a41cf78cb1b415c968b2399e6c64aeca1243 /win/CS/HandBrakeWPF/ViewModels
parent12d9b4d8ae55f94eda8bccc6edc07dca1c69a7ad (diff)
WinGui: (WPF) Bug fixes to the advanced panel
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4578 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/AdvancedViewModel.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/AdvancedViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/AdvancedViewModel.cs
index 0d65ff5be..39861bce7 100644
--- a/win/CS/HandBrakeWPF/ViewModels/AdvancedViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/AdvancedViewModel.cs
@@ -524,6 +524,19 @@ namespace HandBrakeWPF.ViewModels
}
/// <summary>
+ /// Gets a value indicating whether PsychovisualRateDistortionVisible.
+ /// </summary>
+ public bool PsychovisualRateDistortionVisible
+ {
+ get
+ {
+ int value;
+ int.TryParse(this.SubpixelMotionEstimation.Value.Trim(), out value);
+ return value >= 6;
+ }
+ }
+
+ /// <summary>
/// Gets or sets PyramidalBFrames.
/// </summary>
public AdvancedChoice PyramidalBFrames
@@ -584,6 +597,7 @@ namespace HandBrakeWPF.ViewModels
{
this.subpixelMotionEstimation = value;
this.NotifyOfPropertyChange(() => this.SubpixelMotionEstimation);
+ this.NotifyOfPropertyChange(() => this.PsychovisualRateDistortionVisible);
this.UpdateOptionsString();
}
}