summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2014-05-21 18:37:49 +0000
committersr55 <[email protected]>2014-05-21 18:37:49 +0000
commite76eb1a5ff37522f527242381090fff48422b41a (patch)
tree3e1bf76bd6487334f4786db60c09ab6aa66bf03c /win/CS
parentc8cef65489e56e5387aae849e11fb732761632cc (diff)
WinGui: Fix QSV preset loading of RF Slider
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6201 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
index 46fa83487..c729e476e 100644
--- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs
@@ -1099,7 +1099,12 @@ namespace HandBrakeWPF.ViewModels
break;
case VideoEncoder.X265:
case VideoEncoder.X264:
+ case VideoEncoder.QuickSync:
+ if (this.SelectedVideoEncoder == VideoEncoder.QuickSync)
+ {
+ cqStep = 1;
+ }
double multiplier = 1.0 / cqStep;
if (preset.Task.Quality.HasValue)
{
@@ -1111,7 +1116,7 @@ namespace HandBrakeWPF.ViewModels
break;
case VideoEncoder.Theora:
- case VideoEncoder.QuickSync:
+
if (preset.Task.Quality.HasValue)
{
this.RF = (int)preset.Task.Quality.Value;