summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2009-11-02 17:35:54 +0000
committerdynaflash <[email protected]>2009-11-02 17:35:54 +0000
commit1e6b191a97edad3cd634b4972f53873d3d5001d9 (patch)
treeca52610bbd3b5915e7e49a985a87d7180dd58b31 /macosx/Controller.m
parent704ab3d72e2a06c11eb7fac33dac9eef12a8b4de (diff)
MacGui: Fix the RF and QP labels in the constant quality slider when switching between video encoders. Patch by Rodeo.
- http://forum.handbrake.fr/viewtopic.php?f=4&t=12838 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2909 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index d364c0dad..138d1f9ac 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4567,7 +4567,7 @@ the user is using "Custom" settings by determining the sender*/
* so that we can choose a new similar value on the new slider scale */
float previousMaxValue = [fVidQualitySlider maxValue];
float previousPercentOfSliderScale = [fVidQualitySlider floatValue] / ([fVidQualitySlider maxValue] - [fVidQualitySlider minValue] + 1);
- NSString * qpRFLabelString = @"RF:";
+ NSString * qpRFLabelString = @"QP:";
/* x264 0-51 */
if ([[fVidEncoderPopUp selectedItem] tag] == HB_VCODEC_X264)
{
@@ -4576,6 +4576,7 @@ the user is using "Custom" settings by determining the sender*/
/* As x264 allows for qp/rf values that are fractional, we get the value from the preferences */
int fractionalGranularity = 1 / [[NSUserDefaults standardUserDefaults] floatForKey:@"x264CqSliderFractional"];
[fVidQualitySlider setNumberOfTickMarks:(([fVidQualitySlider maxValue] - [fVidQualitySlider minValue]) * fractionalGranularity) + 1];
+ qpRFLabelString = @"RF:";
}
/* ffmpeg 1-31 */
if ([[fVidEncoderPopUp selectedItem] tag] == HB_VCODEC_FFMPEG )