mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
6498522bef
commit
4cd2cee7ed
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user