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:28 +0200
commit33b97faaba2744f0a2fd65c0ef9ecc2de3fad7ff (patch)
treeb809727d96642ad7b9c798018a2b3991bd6a9b4a /doc/filters.texi
parent95f1f56a21bc2f824af6fb97ca7ab35cdd0c401e (diff)
vf_setpts: switch to an AVOptions-based system.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi17
1 files changed, 13 insertions, 4 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 037d6ad492..0c7527fd11 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -1895,8 +1895,17 @@ See also the @ref{setsar} filter documentation.
Change the PTS (presentation timestamp) of the input video frames.
-Accept in input an expression evaluated through the eval API, which
-can contain the following constants:
+This filter accepts the following options:
+
+@table @option
+
+@item expr
+The expression which is evaluated for each frame to construct its timestamp.
+
+@end table
+
+The expression is evaluated through the eval API and can contain the following
+constants:
@table @option
@item PTS
@@ -1938,10 +1947,10 @@ Some examples follow:
@example
# start counting PTS from zero
-setpts=PTS-STARTPTS
+setpts=expr=PTS-STARTPTS
# fast motion
-setpts=0.5*PTS
+setpts=expr=0.5*PTS
# slow motion
setpts=2.0*PTS