Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation
@ 2023-03-26 18:15 Stefano Sabatini
  2023-03-27  4:39 ` Gyan Doshi
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Sabatini @ 2023-03-26 18:15 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Stefano Sabatini

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
-@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.
 
 @item max
 Set the maximum integer value to use for expressing numerator and
@@ -20902,19 +20899,14 @@ Default value is @code{100}.
 
 @end table
 
-The parameter @var{sar} is an expression containing
-the following constants:
+The parameter @var{sar} is an expression containing the following constants:
 
 @table @option
-@item E, PI, PHI
-These are approximated values for the mathematical constants e
-(Euler's number), pi (Greek pi), and phi (the golden ratio).
-
 @item w, h
 The input width and height.
 
 @item a
-These are the same as @var{w} / @var{h}.
+Same as @var{w} / @var{h}.
 
 @item sar
 The input sample aspect ratio.
-- 
2.25.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation
  2023-03-26 18:15 [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation Stefano Sabatini
@ 2023-03-27  4:39 ` Gyan Doshi
  2023-03-28 22:31   ` Stefano Sabatini
  0 siblings, 1 reply; 3+ messages in thread
From: Gyan Doshi @ 2023-03-27  4:39 UTC (permalink / raw)
  To: ffmpeg-devel



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
> -@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.`


Regards,
Gyan

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation
  2023-03-27  4:39 ` Gyan Doshi
@ 2023-03-28 22:31   ` Stefano Sabatini
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Sabatini @ 2023-03-28 22:31 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

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
> > -@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.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-28 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-26 18:15 [FFmpeg-devel] [PATCH] doc/filters/aspect: update documentation Stefano Sabatini
2023-03-27  4:39 ` Gyan Doshi
2023-03-28 22:31   ` Stefano Sabatini

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git