From 5e05afdfb0da8bc1a6bcf9d8dcba5eb5369191a9 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 23 Sep 2008 19:58:39 +0000 Subject: MacGui: update the deblock filter setting display in the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1751 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBQueueController.mm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'macosx/HBQueueController.mm') diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index e1d01ccc8..bb06ae47c 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -1000,7 +1000,7 @@ if (fWorkingCount > 0) [finalString appendString: pictureInfo withAttributes:detailAttr]; [finalString appendString:@"\n" withAttributes:detailAttr]; - /* Optional String for mp4 options */ + /* Optional String for Picture Filters */ NSString * pictureFilters = @""; BOOL pictureFiltersPresent = NO; @@ -1055,9 +1055,10 @@ if (fWorkingCount > 0) } } - if ([[item objectForKey:@"PictureDeblock"] intValue] == 1) + if ([[item objectForKey:@"PictureDeblock"] intValue] != 0) { - pictureFilters = [pictureFilters stringByAppendingString:@" - Deblock "]; + pictureFiltersPresent = YES; + pictureFilters = [pictureFilters stringByAppendingString: [NSString stringWithFormat:@" - Deblock (pp7) (%d) ",[[item objectForKey:@"PictureDeblock"] intValue]]]; } if (pictureFiltersPresent == YES) { @@ -1066,9 +1067,7 @@ if (fWorkingCount > 0) [finalString appendString:@"\n" withAttributes:detailAttr]; } - /* Sixth Line Video Details*/ - NSString * videoInfo; videoInfo = [NSString stringWithFormat:@"Encoder: %@", [item objectForKey:@"VideoEncoder"]]; videoInfo = [NSString stringWithFormat:@"%@ Framerate: %@", videoInfo ,[item objectForKey:@"VideoFramerate"]]; @@ -1113,14 +1112,8 @@ if (fWorkingCount > 0) [finalString appendString: @"Audio Track 4: " withAttributes:detailBoldAttr]; [finalString appendString: audioDetail4 withAttributes:detailAttr]; - //[finalString appendString:@"\n" withAttributes:detailAttr]; - return finalString; - - - - } else if ([[tableColumn identifier] isEqualToString:@"icon"]) { -- cgit v1.2.3