diff mbox series

[FFmpeg-devel] doc/ffmpeg: Extend documentation for sws_flags option

Message ID 1684324375-14741-1-git-send-email-t.rapp@noa-archive.com
State Accepted
Commit aa6eeb29cb397cb0de05b65b3d0303045fde6fe5
Headers show
Series [FFmpeg-devel] doc/ffmpeg: Extend documentation for sws_flags option | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished

Commit Message

Tobias Rapp May 17, 2023, 11:52 a.m. UTC
Clarify that -sws_flags are only applied to simple filtergraphs as a
default, not complex filtergraphs. Add a reference to the scaler
options.
---
 doc/ffmpeg.texi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Gyan Doshi May 17, 2023, 1:15 p.m. UTC | #1
On 2023-05-17 05:22 pm, Tobias Rapp wrote:
> Clarify that -sws_flags are only applied to simple filtergraphs as a
> default, not complex filtergraphs. Add a reference to the scaler
> options.

LGTM

Regards,
Gyan

> ---
>   doc/ffmpeg.texi | 7 ++++++-
>   1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> index a12700e..c0fa90f 100644
> --- a/doc/ffmpeg.texi
> +++ b/doc/ffmpeg.texi
> @@ -1023,7 +1023,12 @@ If @var{pix_fmt} is a single @code{+}, ffmpeg selects the same pixel format
>   as the input (or graph output) and automatic conversions are disabled.
>   
>   @item -sws_flags @var{flags} (@emph{input/output})
> -Set SwScaler flags.
> +Set default flags for the libswscale library. These flags are used by
> +automatically inserted @code{scale} filters and those within simple
> +filtergraphs, if not overridden within the filtergraph definition.
> +
> +See the @ref{scaler_options,,ffmpeg-scaler manual,ffmpeg-scaler} for a list
> +of scaler options.
>   
>   @item -rc_override[:@var{stream_specifier}] @var{override} (@emph{output,per-stream})
>   Rate control override for specific intervals, formatted as "int,int,int"
Tobias Rapp May 17, 2023, 3:19 p.m. UTC | #2
On 17/05/2023 15:15, Gyan Doshi wrote:

>
> On 2023-05-17 05:22 pm, Tobias Rapp wrote:
>> Clarify that -sws_flags are only applied to simple filtergraphs as a
>> default, not complex filtergraphs. Add a reference to the scaler
>> options.
>
> LGTM
>
> Regards,
> Gyan

Applied.

Thanks for review,
Tobias
diff mbox series

Patch

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index a12700e..c0fa90f 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1023,7 +1023,12 @@  If @var{pix_fmt} is a single @code{+}, ffmpeg selects the same pixel format
 as the input (or graph output) and automatic conversions are disabled.
 
 @item -sws_flags @var{flags} (@emph{input/output})
-Set SwScaler flags.
+Set default flags for the libswscale library. These flags are used by
+automatically inserted @code{scale} filters and those within simple
+filtergraphs, if not overridden within the filtergraph definition.
+
+See the @ref{scaler_options,,ffmpeg-scaler manual,ffmpeg-scaler} for a list
+of scaler options.
 
 @item -rc_override[:@var{stream_specifier}] @var{override} (@emph{output,per-stream})
 Rate control override for specific intervals, formatted as "int,int,int"