[FFmpeg-cvslog] avfilter/vf_interlace: do not interlace already interlaced frames
Marton Balint
git at videolan.org
Sun Dec 15 01:25:09 EET 2019
ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Fri Dec 6 11:02:36 2019 +0100| [4cd2cee7ed519f052ac6a92a0445763d79471d1c] | committer: 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: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4cd2cee7ed519f052ac6a92a0445763d79471d1c
---
libavfilter/vf_tinterlace.c | 1 +
1 file changed, 1 insertion(+)
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)
More information about the ffmpeg-cvslog
mailing list