diff options
author | Damiano Galassi <[email protected]> | 2016-02-26 10:03:16 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-02-26 10:03:16 +0100 |
commit | e06ab1d8cbed41d3adb9181d5e623c51c91a2222 (patch) | |
tree | fbfe3583bf6e4bb5ff5b810619cb42698cc23baa /macosx | |
parent | 25133845793a73400dd77792969b1d8b94dea6fd (diff) |
MacGui: the 'default' as the standard deinterlace filter value.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBFilters.m | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/macosx/HBFilters.m b/macosx/HBFilters.m index fe7d80e37..e0352868a 100644 --- a/macosx/HBFilters.m +++ b/macosx/HBFilters.m @@ -27,7 +27,7 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; _detelecineCustomString = @""; _deinterlace = @"off"; _deinterlaceCustomString = @""; - _deinterlacePreset = @"fast"; + _deinterlacePreset = @"default"; _denoise = @"off"; _denoiseCustomString = @""; _denoisePreset = @"medium"; @@ -114,14 +114,11 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; { [[self.undo prepareWithInvocationTarget:self] setDeinterlacePreset:_deinterlacePreset]; } + if (deinterlacePreset) { _deinterlacePreset = [deinterlacePreset copy]; } - else - { - _deinterlacePreset = @"fast"; - } if (!(self.undo.isUndoing || self.undo.isRedoing)) { @@ -138,10 +135,9 @@ NSString * const HBFiltersChangedNotification = @"HBFiltersChangedNotification"; filter_id = HB_FILTER_DEINTERLACE; } - if (hb_validate_filter_preset(filter_id, self.deinterlacePreset.UTF8String, NULL) || - ([self.deinterlacePreset isEqualToString:@"default"] && filter_id == HB_FILTER_DEINTERLACE)) + if (hb_validate_filter_preset(filter_id, self.deinterlacePreset.UTF8String, NULL)) { - _deinterlacePreset = @"fast"; + _deinterlacePreset = @"default"; } } |