summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-06-02 17:20:04 +0000
committersr55 <[email protected]>2013-06-02 17:20:04 +0000
commit812134ffba931aa603e67f541e7a2f0f03215fbb (patch)
treeb195c534be675fd4922c91cf4354cb88b05e93ac /win/CS/HandBrakeWPF/ViewModels
parent392005a7d2341fa497f929b7549b749c51c249d6 (diff)
WinGui: Put Lower / Placebo Quality (Higher quality for non x264) markers under the quality slider.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5545 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
index e5a8d6159..0df0c47a9 100644
--- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
@@ -394,6 +394,18 @@ namespace HandBrakeWPF.ViewModels
}
/// <summary>
+ /// Gets the high quality label.
+ /// </summary>
+ public string HighQualityLabel
+ {
+ get
+ {
+ return this.SelectedVideoEncoder == VideoEncoder.X264 ? Resources.Video_PlaceboQuality : Resources.Video_HigherQuality;
+ }
+ }
+
+
+ /// <summary>
/// Gets or sets SelectedFramerate.
/// </summary>
public string SelectedFramerate
@@ -459,6 +471,7 @@ namespace HandBrakeWPF.ViewModels
this.DisplayX264Options = value == VideoEncoder.X264;
this.NotifyOfPropertyChange(() => this.Rfqp);
+ this.NotifyOfPropertyChange(() => this.HighQualityLabel);
}
}