diff options
-rw-r--r-- | macosx/HBFilters+UIAdditions.m | 2 | ||||
-rw-r--r-- | macosx/HBFilters.h | 2 | ||||
-rw-r--r-- | macosx/HBFilters.m | 4 | ||||
-rw-r--r-- | macosx/HBJob+HBJobConversion.m | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/macosx/HBFilters+UIAdditions.m b/macosx/HBFilters+UIAdditions.m index 6d2c255fe..33acb81b9 100644 --- a/macosx/HBFilters+UIAdditions.m +++ b/macosx/HBFilters+UIAdditions.m @@ -319,7 +319,7 @@ static NSDictionary *denoiseTypesDict = nil; // Deblock if (self.deblock > 0) { - [summary appendFormat:@" - Deblock (%ld)", self.deblock]; + [summary appendFormat:@" - Deblock (%d)", self.deblock]; } // Denoise diff --git a/macosx/HBFilters.h b/macosx/HBFilters.h index 1d1cdb9ff..edac30f84 100644 --- a/macosx/HBFilters.h +++ b/macosx/HBFilters.h @@ -32,7 +32,7 @@ extern NSString * const HBFiltersChangedNotification; @property (nonatomic, readwrite, copy) NSString *denoiseTune; @property (nonatomic, readwrite, copy) NSString *denoiseCustomString; -@property (nonatomic, readwrite) NSInteger deblock; +@property (nonatomic, readwrite) int deblock; @property (nonatomic, readwrite) BOOL grayscale; @end diff --git a/macosx/HBFilters.m b/macosx/HBFilters.m index 90a031c6d..ebd38558c 100644 --- a/macosx/HBFilters.m +++ b/macosx/HBFilters.m @@ -189,7 +189,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; [self postChangedNotification]; } -- (void)setDeblock:(NSInteger)deblock +- (void)setDeblock:(int)deblock { _deblock = deblock; [self postChangedNotification]; @@ -306,7 +306,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; decodeObject(_denoiseTune, NSString); decodeObject(_denoiseCustomString, NSString); - decodeInteger(_deblock); + decodeInt(_deblock); decodeBool(_grayscale); decodeBool(_useDecomb); diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m index 464882652..70692d801 100644 --- a/macosx/HBJob+HBJobConversion.m +++ b/macosx/HBJob+HBJobConversion.m @@ -479,7 +479,7 @@ if (self.filters.deblock) { filter = hb_filter_init(HB_FILTER_DEBLOCK); - hb_add_filter(job, filter, [NSString stringWithFormat:@"%ld", (long)self.filters.deblock].UTF8String); + hb_add_filter(job, filter, [NSString stringWithFormat:@"%d", self.filters.deblock].UTF8String); } // Add Crop/Scale filter |