From 79a2351c1bba79e83844513083b7a4f7a7009349 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Mon, 3 Jan 2011 15:55:17 +0000 Subject: 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 --- macosx/Controller.m | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'macosx/Controller.m') 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]; } -- cgit v1.2.3