summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2011-01-03 15:55:17 +0000
committerdynaflash <[email protected]>2011-01-03 15:55:17 +0000
commit79a2351c1bba79e83844513083b7a4f7a7009349 (patch)
tree1ef68b6890cfb85ac5ab2ebb0be9c01dc0b6cc38 /macosx/Controller.m
parentdede97c0e2bd0dd73ba56e7d2013bcbb3e7389ef (diff)
MacGui: When using x264 and rf 0 is selected show "Warning: Lossless" in the field readout for rf.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3729 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 3764e1892..aa0299b67 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4802,6 +4802,12 @@ the user is using "Custom" settings by determining the sender*/
{
[fVidQualityRFField setStringValue: [NSString stringWithFormat: @"%.2f", sliderRfInverse]];
}
+ /* Show a warning if x264 and rf 0 which is lossless */
+ if ([[fVidEncoderPopUp selectedItem] tag] == HB_VCODEC_X264 && sliderRfInverse == 0.0)
+ {
+ [fVidQualityRFField setStringValue: [NSString stringWithFormat: @"%.2f (Warning: Lossless)", sliderRfInverse]];
+ }
+
[self customSettingUsed: sender];
}