diff options
author | Marton Balint <cus@passwd.hu> | 2019-12-06 11:02:36 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2019-12-15 00:23:03 +0100 |
commit | 4cd2cee7ed519f052ac6a92a0445763d79471d1c (patch) | |
tree | be0ab8a0984e9503df0a14a011bdc64561141f99 | |
parent | 6498522befb21974061cb38ece90b482bd0d2b16 (diff) | |
download | ffmpeg-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.c | 1 |
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) |