> -----Original Message----- > From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Moritz > Barsnick > Sent: Thursday, January 2, 2020 6:30 AM > To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter > > On Fri, Dec 20, 2019 at 10:55:39 +0800, Xinpeng Sun wrote: > > +Set blocking detection thresholds. Allowed range is 0.0 to 1.0, it > > +need input video has alpha channel. > > Incorrect grammar. I suggest ", it requires an input video with alpha > channel". > > > + ret = ff_formats_ref(ff_make_format_list(main_in_fmts), &ctx- > >inputs[MAIN]->out_formats); > > + if (ret < 0) > > + return ret; > > + > > + ret = ff_formats_ref(ff_make_format_list(main_in_fmts), &ctx- > >inputs[OVERLAY]->out_formats); > > + if (ret < 0) > > + return ret; > > Incorrect indentation (twice). > > > + if (!support_flag) { > > + av_log(avctx, AV_LOG_ERROR, "VAAPI driver doesn't support global > > alpha > blending\n"); > > + return AVERROR(EINVAL); > > Incorrect indentation. > > Moritz
Thanks for review. I will fix them in the next version. Xinpeng _______________________________________________ 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".