summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2016-04-07 10:20:53 +0200
committerPaul B Mahol <onemda@gmail.com>2016-04-13 08:39:07 +0200
commitee104580c5b83e0fe697a66c2638b56d584c0081 (patch)
treee8baadc61834aa74d745e20bfc0d37ed6466b982 /doc
parent3674a53d171028c5bb1692dd80a3cd113bd7ff8b (diff)
avfilter/vf_drawtext: add optional default value to metadata function
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 712e70833c..0b80fd116a 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -6682,7 +6682,12 @@ The time at which the filter is running, expressed in the local time zone.
It can accept an argument: a strftime() format string.
@item metadata
-Frame metadata. It must take one argument specifying metadata key.
+Frame metadata. Takes one or two arguments.
+
+The first argument is mandatory and specifies the metadata key.
+
+The second argument is optional and specifies a default value, used when the
+metadata key is not found or empty.
@item n, frame_num
The frame number, starting from 0.