aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-12-06 11:02:36 +0100
committerMarton Balint <cus@passwd.hu>2019-12-15 00:23:03 +0100
commit4cd2cee7ed519f052ac6a92a0445763d79471d1c (patch)
treebe0ab8a0984e9503df0a14a011bdc64561141f99
parent6498522befb21974061cb38ece90b482bd0d2b16 (diff)
downloadffmpeg-4cd2cee7ed519f052ac6a92a0445763d79471d1c.tar.gz
avfilter/vf_interlace: do not interlace already interlaced frames
The filter used to work this way before it was merged into tinterlace. Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--libavfilter/vf_tinterlace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c
index 0ee40ffce6..a77753775c 100644
--- a/libavfilter/vf_tinterlace.c
+++ b/libavfilter/vf_tinterlace.c
@@ -529,6 +529,7 @@ static int init_interlace(AVFilterContext *ctx)
if (tinterlace->mode <= MODE_BFF)
tinterlace->mode += MODE_INTERLEAVE_TOP;
+ tinterlace->flags |= TINTERLACE_FLAG_BYPASS_IL;
if (tinterlace->lowpass == VLPF_LIN)
tinterlace->flags |= TINTERLACE_FLAG_VLPF;
if (tinterlace->lowpass == VLPF_CMP)