Browse Source

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>
tags/n4.3
Marton Balint 5 years ago
parent
commit
4cd2cee7ed
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_tinterlace.c

+ 1
- 0
libavfilter/vf_tinterlace.c View File

@@ -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)


Loading…
Cancel
Save