summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2014-04-25 14:01:43 +0200
committerNicolas George <george@nsup.org>2014-04-29 13:25:59 +0200
commit41334fcab41fee1a5a869c9f87c4a1d59a627b57 (patch)
treedbf6fd4243088d9eddb0be5646c0b9c7c8b7e00c /doc
parent50ed6e3ce635e47898c0cb9e3d57f3b7e0a67ff4 (diff)
lavfi/drawtext: allow to format pts as HH:MM:SS.mmm.
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index e943923e00..a8b2668889 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -3850,7 +3850,14 @@ The frame number, starting from 0.
A 1 character description of the current picture type.
@item pts
-The timestamp of the current frame, in seconds, with microsecond accuracy.
+The timestamp of the current frame.
+It can take up to two arguments.
+
+The first argument is the format of the timestamp; it defaults to @code{flt}
+for seconds as a decimal number with microsecond accuracy; @code{hms} stands
+for a formatted @var{[-]HH:MM:SS.mmm} timestamp with millisecond accuracy.
+
+The second argument is an offset added to the timestamp.
@end table