[FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation

Stefano Sabatini stefasab at gmail.com
Wed Mar 29 01:31:50 EEST 2023


On date Monday 2023-03-27 10:09:29 +0530, Gyan Doshi wrote:
> 
> 
> On 2023-03-26 11:45 pm, Stefano Sabatini wrote:
> > Drop mention of unsupported N:M syntax, dropped since 0ed61546c459.
> > 
> > Also, drop reference of common expression constants, and fix
> > description of a expression parameter.
> > 
> > Fix issue:
> > http://trac.ffmpeg.org/ticket/9974
> > ---
> >   doc/filters.texi | 18 +++++-------------
> >   1 file changed, 5 insertions(+), 13 deletions(-)
> > 
> > diff --git a/doc/filters.texi b/doc/filters.texi
> > index 889de8b11a..8d4c6ae2f6 100644
> > --- a/doc/filters.texi
> > +++ b/doc/filters.texi
> > @@ -20888,12 +20888,9 @@ It accepts the following parameters:
> >   @item r, ratio, dar (@code{setdar} only), sar (@code{setsar} only)
> >   Set the aspect ratio used by the filter.
> > -The parameter can be a floating point number string, an expression, or
> > -a string of the form @var{num}:@var{den}, where @var{num} and
> > - at var{den} are the numerator and denominator of the aspect ratio. If
> > -the parameter is not specified, it is assumed the value "0".
> > -In case the form "@var{num}:@var{den}" is used, the @code{:} character
> > -should be escaped.
> > +The parameter can be a floating point number string, or an expression. If the
> > +parameter is not specified, it is assumed the value "0", meaning that the same
> > +input value is assumed.
> 
> A more idiomatic phrase would be
> 
> `If the parameter is not specified, the value "0" is assumed, meaning that the input value is used.`

Fixed and applied, thanks.


More information about the ffmpeg-devel mailing list