diff options
author | Damiano Galassi <[email protected]> | 2016-03-11 13:41:32 +0100 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-03-12 09:04:01 -0700 |
commit | 44171658dac08810acd38f5691dede164dff508f (patch) | |
tree | f09b5195fb706d589d9e89643a43e12b6adba24f /macosx/HBJob+HBJobConversion.m | |
parent | 9462d299389417bb00d5fdd07e0b5fc9e4811ec9 (diff) |
MacGui: add interlace detection filter.
Diffstat (limited to 'macosx/HBJob+HBJobConversion.m')
-rw-r--r-- | macosx/HBJob+HBJobConversion.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m index aa109971f..8914b34d4 100644 --- a/macosx/HBJob+HBJobConversion.m +++ b/macosx/HBJob+HBJobConversion.m @@ -411,6 +411,19 @@ hb_value_free(&filter_dict); } + // Comb Detection + if (![self.filters.combDetection isEqualToString:@"off"]) + { + int filter_id = HB_FILTER_COMB_DETECT; + hb_dict_t *filter_dict = hb_generate_filter_settings(filter_id, + self.filters.combDetection.UTF8String, + NULL, + self.filters.combDetectionCustomString.UTF8String); + filter = hb_filter_init(filter_id); + hb_add_filter_dict(job, filter, filter_dict); + hb_value_free(&filter_dict); + } + // Deinterlace if (![self.filters.deinterlace isEqualToString:@"off"]) { |