[FFmpeg-devel] [PATCH v3] avfilter/buffersrc: deprecate sws_param option

Nicolas George george at nsup.org
Wed Dec 4 11:45:33 EET 2019


quinkblack at foxmail.com (12019-12-04):
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> ---
> patch v3: document how to set the parameters for automatically inserted filters.
> 
>  doc/filters.texi        |  7 +++----
>  libavfilter/buffersrc.c | 14 ++++++++++++--
>  libavfilter/version.h   |  5 ++++-
>  3 files changed, 19 insertions(+), 7 deletions(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index 5fdec6f015..7a700c7cc4 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -21014,9 +21014,8 @@ Specify the frame rate expected for the video stream.
>  The sample (pixel) aspect ratio of the input video.
>  
>  @item sws_param
> -Specify the optional parameters to be used for the scale filter which
> -is automatically inserted when an input change is detected in the
> -input size or format.

> +This option is deprecated and ignored. Use @ref{sws_flags,,sws_flags,ffmpeg-scaler}
> +instead to specify swscale flags for those automatically inserted scalers.

It says what option to use, but it does not say HOW to use it. It seems
to be set on the filter graph itself, but IIRC there is a syntax to do
it.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191204/1003cfc1/attachment.sig>


More information about the ffmpeg-devel mailing list