summaryrefslogtreecommitdiff
path: root/doc/utils.texi
diff options
context:
space:
mode:
authorMoritz Barsnick <barsnick@gmx.net>2020-06-08 17:39:00 +0200
committerGyan Doshi <ffmpeg@gyani.pro>2020-06-09 17:55:52 +0530
commit7ab375f57488112fcdc8c286cdf74276d50887c2 (patch)
treeea6ab5489b1e0b8d973fe80c1988a7aa3d44c80c /doc/utils.texi
parentaab0885c198432457ff43581394156d9b09c05d1 (diff)
doc/utils: document the "s", "ms" and "us" suffixes for durations
These suffixes were introduced in 61c972384d311508d07f9360d196909e27195655 and completed in 8218249f1f04de65904f58519bde21948e5a0783. Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Diffstat (limited to 'doc/utils.texi')
-rw-r--r--doc/utils.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/utils.texi b/doc/utils.texi
index e7a9b40b35..44ce285d26 100644
--- a/doc/utils.texi
+++ b/doc/utils.texi
@@ -110,11 +110,13 @@ maximum of 2 digits. The @var{m} at the end expresses decimal value for
@emph{or}
@example
-[-]@var{S}+[.@var{m}...]
+[-]@var{S}+[.@var{m}...][s|ms|us]
@end example
@var{S} expresses the number of seconds, with the optional decimal part
-@var{m}.
+@var{m}. The optional literal suffixes @samp{s}, @samp{ms} or @samp{us}
+indicate to interpret the value as seconds, milliseconds or microseconds,
+respectively.
In both expressions, the optional @samp{-} indicates negative duration.