Hello Michael,
> On Sep 20, 2019, at 12:10 PM, Michael Niedermayer <[email protected]> > wrote: > > On Fri, Sep 20, 2019 at 11:55:17PM +0800, [email protected] wrote: >> From: Limin Wang <[email protected]> >> >> Signed-off-by: Limin Wang <[email protected]> >> --- >> 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 [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
