diff options
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r-- | macosx/HBJob.m | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m index cbdbfbe15..e97c46cb6 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -11,6 +11,7 @@ #import "HBSubtitlesDefaults.h" #import "HBCodingUtilities.h" +#import "HBMutablePreset.h" #include "hb.h" @@ -180,17 +181,20 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification"; + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key { - NSSet *retval = nil; + NSSet *retval = [NSSet set]; if ([key isEqualToString:@"mp4OptionsEnabled"]) { retval = [NSSet setWithObjects:@"container", nil]; } - - if ([key isEqualToString:@"mp4iPodCompatibleEnabled"]) + else if ([key isEqualToString:@"mp4iPodCompatibleEnabled"]) { retval = [NSSet setWithObjects:@"container", @"video.encoder", nil]; } + else + { + retval = [NSSet set]; + } return retval; } |