diff options
author | sr55 <[email protected]> | 2016-07-23 21:37:02 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2016-07-23 21:37:09 +0100 |
commit | 63f04ee378c199d993e5b01d16ca9b4008b4ef00 (patch) | |
tree | 43290634ad9336da6ed4e3a96ad615b415559ab0 /win/CS/HandBrakeWPF | |
parent | 15d868aa76cf3a01dec1837bccb840276037b4bc (diff) |
WinGui: Fix Quality slider for VP9
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs index fffa01080..6bce859bf 100644 --- a/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/VideoViewModel.cs @@ -328,6 +328,7 @@ namespace HandBrakeWPF.ViewModels this.Task.Quality = (32 - value);
break;
case VideoEncoder.VP8:
+ case VideoEncoder.VP9:
this.Task.Quality = (63 - value);
break;
case VideoEncoder.X264:
@@ -1051,6 +1052,7 @@ namespace HandBrakeWPF.ViewModels break;
case VideoEncoder.Theora:
case VideoEncoder.VP8:
+ case VideoEncoder.VP9:
this.QualityMin = 0;
this.QualityMax = 63;
break;
@@ -1160,6 +1162,7 @@ namespace HandBrakeWPF.ViewModels }
break;
case VideoEncoder.VP8:
+ case VideoEncoder.VP9:
if (quality.HasValue)
{
int cq;
|