From 11f037ee4d90018928186ae8fb0b1b4f9429d49a Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sun, 17 May 2015 00:40:55 +0000 Subject: MacGui: don't forget the fastdecode checkbox when printing the job's queue description. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7201 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBJob+UIAdditions.m | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'macosx/HBJob+UIAdditions.m') diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 498c4f551..da0ccf7e3 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -321,9 +321,24 @@ static NSDictionary *shortHeightAttr; { // we are using the x264 system encoderPresetInfo = [encoderPresetInfo stringByAppendingString: [NSString stringWithFormat:@"Preset: %@", self.video.preset]]; - if (self.video.tune.length) + + if (self.video.tune.length || self.video.fastDecode) { - encoderPresetInfo = [encoderPresetInfo stringByAppendingString: [NSString stringWithFormat:@" - Tune: %@", self.video.tune]]; + encoderPresetInfo = [encoderPresetInfo stringByAppendingString:@" - Tune: "]; + + if (self.video.tune.length) + { + encoderPresetInfo = [encoderPresetInfo stringByAppendingString: [NSString stringWithFormat:@"%@", self.video.tune]]; + + if (self.video.fastDecode) + { + encoderPresetInfo = [encoderPresetInfo stringByAppendingString:@","]; + } + } + if (self.video.fastDecode) + { + encoderPresetInfo = [encoderPresetInfo stringByAppendingString:@"fastdecode"]; + } } if (self.video.videoOptionExtra.length) { -- cgit v1.2.3