diff options
-rw-r--r-- | macosx/HBFilters.m | 2 | ||||
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/macosx/HBFilters.m b/macosx/HBFilters.m index ebd38558c..33116a474 100644 --- a/macosx/HBFilters.m +++ b/macosx/HBFilters.m @@ -282,7 +282,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; encodeObject(_denoiseTune); encodeObject(_denoiseCustomString); - encodeInteger(_deblock); + encodeInt(_deblock); encodeBool(_grayscale); encodeBool(_useDecomb); diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index 2d126dd5b..7eae8a773 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -556,7 +556,11 @@ static NSDictionary *shortHeightAttr; - (id)reverseTransformedValue:(id)value { - return [NSURL fileURLWithPath:value]; + if (value) + { + return [NSURL fileURLWithPath:value]; + } + return nil; } @end |