diff options
author | Damiano Galassi <[email protected]> | 2016-03-30 19:20:36 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-03-30 19:20:36 +0200 |
commit | 17afb1a15761cee42411f7f9140a10920aa25bb4 (patch) | |
tree | 3512239d08c9fb30d04789a82f8a29445537b12d | |
parent | bae2b4aaa7e221aa4c48711fa0f188f4c72d092f (diff) |
MacGui: allow negative value in the quality slider.
-rw-r--r-- | macosx/HBVideoController.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index 3e5719f09..a3ed3337c 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -188,6 +188,8 @@ static void *HBVideoControllerContext = &HBVideoControllerContext; granularity = [[NSUserDefaults standardUserDefaults] floatForKey:@"x264CqSliderFractional"]; } + fVidQualitySlider.minValue = minValue; + fVidQualitySlider.maxValue = maxValue; [fVidQualitySlider setNumberOfTickMarks:(int)((maxValue - minValue) * (1.0f / granularity)) + 1]; |