summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-25 21:21:29 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-09 19:07:44 +0200
commitffea3b00c39caa8ad78456ae08c8353929974dfd (patch)
tree4f1cf65cf82edbeb525c99fe127734cc9dba0edb /doc/filters.texi
parent33b97faaba2744f0a2fd65c0ef9ecc2de3fad7ff (diff)
vf_settb: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 0c7527fd11..9f190f9bca 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1998,7 +1998,15 @@ setsar=sar=10/11
Set the timebase to use for the output frames timestamps.
It is mainly useful for testing timebase configuration.
-It accepts in input an arithmetic expression representing a rational.
+This filter accepts the following options:
+
+@table @option
+
+@item expr
+The expression which is evaluated into the output timebase.
+
+@end table
+
The expression can contain the constants "PI", "E", "PHI", "AVTB" (the
default timebase), and "intb" (the input timebase).
@@ -2008,10 +2016,10 @@ Follow some examples.
@example
# set the timebase to 1/25
-settb=1/25
+settb=expr=1/25
# set the timebase to 1/10
-settb=0.1
+settb=expr=0.1
#set the timebase to 1001/1000
settb=1+0.001