Commit 4cd2cee7 authored by Marton Balint's avatar Marton Balint

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: 's avatarMarton Balint <cus@passwd.hu>
parent 6498522b
...@@ -529,6 +529,7 @@ static int init_interlace(AVFilterContext *ctx) ...@@ -529,6 +529,7 @@ static int init_interlace(AVFilterContext *ctx)
if (tinterlace->mode <= MODE_BFF) if (tinterlace->mode <= MODE_BFF)
tinterlace->mode += MODE_INTERLEAVE_TOP; tinterlace->mode += MODE_INTERLEAVE_TOP;
tinterlace->flags |= TINTERLACE_FLAG_BYPASS_IL;
if (tinterlace->lowpass == VLPF_LIN) if (tinterlace->lowpass == VLPF_LIN)
tinterlace->flags |= TINTERLACE_FLAG_VLPF; tinterlace->flags |= TINTERLACE_FLAG_VLPF;
if (tinterlace->lowpass == VLPF_CMP) if (tinterlace->lowpass == VLPF_CMP)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment