summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2023-03-26 20:14:08 +0200
committerStefano Sabatini <stefasab@gmail.com>2023-03-29 00:15:19 +0200
commit47c56ff5540fd5e402e805c8878b8d5e59f40f96 (patch)
tree3a85f3e7c957ed686fa9ddc6135214a0f76aa1ac /doc
parent7d58df7bb2b01be7a8ed8f4dfec183e3f96dd764 (diff)
downloadffmpeg-47c56ff5540fd5e402e805c8878b8d5e59f40f96.tar.gz
doc/filters/aspect: update documentation
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
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi18
1 files changed, 5 insertions, 13 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 889de8b11a..62146e717f 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, the value "0" is assumed, meaning that the same
+input value is used.
@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.