]> granicus.if.org Git - handbrake/commitdiff
MacGui: fix deinterlace presets and sharpen tune undo support.
authorDamiano Galassi <damiog@gmail.com>
Fri, 2 Jun 2017 06:50:37 +0000 (08:50 +0200)
committerDamiano Galassi <damiog@gmail.com>
Fri, 2 Jun 2017 06:50:37 +0000 (08:50 +0200)
macosx/HBFilters.m

index e9d562eebbaa4e2920921f5c3ec2645d4164e82f..c29373cb711535b3c3bd4d932a6cb1d3bf89340f 100644 (file)
@@ -181,7 +181,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification";
 
     if (hb_validate_filter_preset(filter_id, self.deinterlacePreset.UTF8String, NULL, NULL))
     {
-        _deinterlacePreset = @"default";
+        self.deinterlacePreset = @"default";
     }
 }
 
@@ -326,7 +326,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification";
 
     if (hb_validate_filter_preset(filter_id, self.sharpenPreset.UTF8String, NULL, NULL))
     {
-        _sharpenPreset = @"medium";
+        self.sharpenPreset = @"medium";
     }
 }
 
@@ -358,7 +358,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification";
 
     if (hb_validate_filter_preset(filter_id, self.sharpenPreset.UTF8String, self.sharpenTune.UTF8String, NULL))
     {
-        _sharpenTune = @"none";
+        self.sharpenTune = @"none";
     }
 }