[FFmpeg-cvslog] fftools/ffmpeg_filter: remove sws_param option from buffersrc

Zhao Zhili git at videolan.org
Tue Dec 31 15:32:50 EET 2019


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Wed Dec  4 21:41:46 2019 +0800| [609285af51adf0b88f168756c2d24490810e9006] | committer: Nicolas George

fftools/ffmpeg_filter: remove sws_param option from buffersrc

The option is deprecated and ignored by buffersrc.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=609285af51adf0b88f168756c2d24490810e9006
---

 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,



More information about the ffmpeg-cvslog mailing list