diff options
author | dynaflash <[email protected]> | 2008-09-23 19:58:39 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-09-23 19:58:39 +0000 |
commit | 5e05afdfb0da8bc1a6bcf9d8dcba5eb5369191a9 (patch) | |
tree | 9a6274b12bd43ac7cf77f265bf30dfab4123341c | |
parent | d94f2d4248d1a69ef3219cbb6e14b74507558cf8 (diff) |
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
-rw-r--r-- | macosx/HBQueueController.mm | 15 |
1 files changed, 4 insertions, 11 deletions
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"]) { |