From 33b97faaba2744f0a2fd65c0ef9ecc2de3fad7ff Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 25 Feb 2013 21:21:29 +0100 Subject: vf_setpts: switch to an AVOptions-based system. --- doc/filters.texi | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'doc/filters.texi') 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 -- cgit v1.2.3