diff options
author | sr55 <[email protected]> | 2014-05-21 18:37:49 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-05-21 18:37:49 +0000 |
commit | e76eb1a5ff37522f527242381090fff48422b41a (patch) | |
tree | 3e1bf76bd6487334f4786db60c09ab6aa66bf03c /win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | |
parent | c8cef65489e56e5387aae849e11fb732761632cc (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/HandBrakeWPF/ViewModels/VideoViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 7 |
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;
|