summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-10-20 12:02:10 -0700
committerJohn Stebbins <[email protected]>2019-10-20 12:02:10 -0700
commit35f0163228f8c3473dc31312f1fd229b82289c01 (patch)
treeeabb05a792df1a2412abe2deff8a04517e2c787e /libhb
parent2b0ae7e36e3b8281d1c7396fe4f1c11d8583b156 (diff)
libhb: fix filter sanitization
only remove vfr filter if vfr *&&** no detelecine filter
Diffstat (limited to 'libhb')
-rw-r--r--libhb/work.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 5dff947a7..13fb47bc5 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -1428,7 +1428,7 @@ static void sanitize_filter_list(hb_list_t *list, hb_geometry_t src_geo)
{
int mode = hb_dict_get_int(filter->settings, "mode");
// "Same as source" FPS and no HB_FILTER_DETELECINE
- if ( (mode == 0) || (is_detel == 0) )
+ if ( (mode == 0) && (is_detel == 0) )
{
hb_list_rem(list, filter);
hb_filter_close(&filter);