]> granicus.if.org Git - handbrake/commitdiff
MacGui: remove the deblock value 1 -> 5 special case
authorDamiano Galassi <damiog@gmail.com>
Sat, 10 Oct 2015 10:16:04 +0000 (12:16 +0200)
committerDamiano Galassi <damiog@gmail.com>
Sat, 10 Oct 2015 19:50:26 +0000 (21:50 +0200)
macosx/HBFilters.m

index 2ce4e6cd9ecec0fe1363489b5fa4fd539818d537..ec2e89895d949e4a732daa01294f344a035e9097 100644 (file)
@@ -365,16 +365,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification";
         self.denoiseCustomString = preset[@"PictureDenoiseCustom"];
 
         // Deblock
-        if ([preset[@"PictureDeblock"] intValue] == 1)
-        {
-            // if its a one, then its the old on/off deblock, set on to 5
-            self.deblock = 5;
-        }
-        else
-        {
-            // use the settings intValue
-            self.deblock = [preset[@"PictureDeblock"] intValue];
-        }
+        self.deblock = [preset[@"PictureDeblock"] intValue];
 
         self.grayscale = [preset[@"VideoGrayScale"] boolValue];
     }