summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-30 08:15:50 +0000
committerritsuka <[email protected]>2014-12-30 08:15:50 +0000
commitdf7f224eb16b327cbd07a4e77d49ded4c987f011 (patch)
tree2f1335358b5b0a1b60a6ba625d3c277398fd6fd5
parente85690352f677b49355633570ae1b34bb953f411 (diff)
MacGui: fix the picture and filters summary in the video tab.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6677 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--macosx/HBFilters.m13
-rw-r--r--macosx/HBPicture.m2
2 files changed, 14 insertions, 1 deletions
diff --git a/macosx/HBFilters.m b/macosx/HBFilters.m
index 86ec87180..c6d8216fe 100644
--- a/macosx/HBFilters.m
+++ b/macosx/HBFilters.m
@@ -199,6 +199,19 @@ NSDictionary *_HandBrake_nlmeansTunesDict;
[self postChangedNotification];
}
++ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key
+{
+ NSSet *retval = nil;
+
+ if ([key isEqualToString:@"summary"])
+ {
+ retval = [NSSet setWithObjects:@"detelecine", @"detelecineCustomString", @"useDecomb", @"deinterlace", @"deinterlaceCustomString", @"decomb", @"decombCustomString", @"denoise", @"denoisePreset", @"denoiseTune", @"denoiseCustomString", @"deblock", @"grayscale", nil];
+ }
+
+ return retval;
+}
+
+
#pragma mark - NSCopying
- (instancetype)copyWithZone:(NSZone *)zone
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index 639535f35..c2d89ecfd 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -353,7 +353,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
if ([key isEqualToString:@"info"] || [key isEqualToString:@"summary"])
{
- retval = [NSSet setWithObjects:@"width", @"height",@"anamorphicMode", @"cropTop", @"cropBottom", @"cropLeft", @"cropRight", nil];
+ retval = [NSSet setWithObjects:@"parWidth", @"parHeight", @"displayWidth", @"width", @"height",@"anamorphicMode", @"cropTop", @"cropBottom", @"cropLeft", @"cropRight", nil];
}
return retval;