summaryrefslogtreecommitdiffstats
path: root/gtk/src/hb-backend.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-01-22 15:46:13 -0700
committerJohn Stebbins <[email protected]>2016-03-11 14:13:33 -0700
commitc3c076a86e8c3a9b97b1ed352c88365728e3879a (patch)
tree192ca09b9b67c5670d7d64fa42bdcb4107240919 /gtk/src/hb-backend.c
parent2615c363516a5b29d7d02b73e6b5cf2842584e13 (diff)
decomb: split comb detection out into it's own filter
Diffstat (limited to 'gtk/src/hb-backend.c')
-rw-r--r--gtk/src/hb-backend.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/src/hb-backend.c b/gtk/src/hb-backend.c
index 2a8d79bb9..4ea4d4d4b 100644
--- a/gtk/src/hb-backend.c
+++ b/gtk/src/hb-backend.c
@@ -362,6 +362,12 @@ static filter_opts_t hqdn3d_preset_opts =
};
#endif
+static filter_opts_t comb_detect_opts =
+{
+ .filter_id = HB_FILTER_COMB_DETECT,
+ .preset = TRUE
+};
+
static filter_opts_t detel_opts =
{
.filter_id = HB_FILTER_DETELECINE,
@@ -493,6 +499,12 @@ combo_name_map_t combo_name_map[] =
generic_opt_get
},
{
+ "PictureCombDetectPreset",
+ &comb_detect_opts,
+ filter_opts_set,
+ filter_opt_get
+ },
+ {
"PictureDeinterlaceFilter",
&deint_opts,
small_opts_set,