mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user