From 44171658dac08810acd38f5691dede164dff508f Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 11 Mar 2016 13:41:32 +0100 Subject: MacGui: add interlace detection filter. --- macosx/HBJob+HBJobConversion.m | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'macosx/HBJob+HBJobConversion.m') 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"]) { -- cgit v1.2.3