Hello Michael,
> On Sep 20, 2019, at 12:10 PM, Michael Niedermayer <mich...@niedermayer.cc> > wrote: > > On Fri, Sep 20, 2019 at 11:55:17PM +0800, lance.lmw...@gmail.com wrote: >> From: Limin Wang <lance.lmw...@gmail.com> >> >> Signed-off-by: Limin Wang <lance.lmw...@gmail.com> >> --- >> libavcodec/v210_template.c | 20 ++++++++++++++++++++ >> libavcodec/v210enc.c | 8 +++++--- >> 2 files changed, 25 insertions(+), 3 deletions(-) > > Adding a nearest neighbor scaler or in fact any scaler > into an encoder is not ok > > This belongs in swscale and it is already there. Just to be clear, there is no scaling going on here. The patch just expands 4:2:0 to 4:2:2 while properly supporting interlaced chroma. It avoids having to auto insert the swscale filter in the case where there is no scaling required (e.g. H.264 4:2:0 video being output to decklink in its original resolution). Regards, Devin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".