[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_filter: remove sws_param option from buffersrc
Zhao Zhili
quinkblack at foxmail.com
Tue Dec 24 17:02:35 EET 2019
Ping for review, thanks!
> On Dec 4, 2019, at 9:41 PM, quinkblack at foxmail.com wrote:
>
> From: Zhao Zhili <zhilizhao at tencent.com>
>
> The option is deprecated and ignored by buffersrc.
> ---
> fftools/ffmpeg_filter.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
> index 72838de1e2..40cc4c191c 100644
> --- a/fftools/ffmpeg_filter.c
> +++ b/fftools/ffmpeg_filter.c
> @@ -786,10 +786,9 @@ static int configure_input_video_filter(FilterGraph *fg, InputFilter *ifilter,
> av_bprint_init(&args, 0, AV_BPRINT_SIZE_AUTOMATIC);
> av_bprintf(&args,
> "video_size=%dx%d:pix_fmt=%d:time_base=%d/%d:"
> - "pixel_aspect=%d/%d:sws_param=flags=%d",
> + "pixel_aspect=%d/%d",
> ifilter->width, ifilter->height, ifilter->format,
> - tb.num, tb.den, sar.num, sar.den,
> - SWS_BILINEAR + ((ist->dec_ctx->flags&AV_CODEC_FLAG_BITEXACT) ? SWS_BITEXACT:0));
> + tb.num, tb.den, sar.num, sar.den);
> if (fr.num && fr.den)
> av_bprintf(&args, ":frame_rate=%d/%d", fr.num, fr.den);
> snprintf(name, sizeof(name), "graph %d input from stream %d:%d", fg->index,
> --
> 2.22.0
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list