summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGyan Doshi <gyandoshi@gmail.com>2017-11-05 21:29:22 +0530
committerMichael Niedermayer <michael@niedermayer.cc>2017-11-10 00:53:11 +0100
commit84556ef05963138cbc39fa1a39b790dffe15ffe8 (patch)
treee90909b42e24e42f024a045afbf92600d69066b0 /doc
parent1b323c3f9c8997c4df8e843cb065f10d097ae18c (diff)
lavu/timecode: clarify error msg for timecode_rate
The user-supplied value for timecode_rate in drawtext is rounded to nearest integer. So, a supplied value of 0.49 or lower is rounded to 0. This throws a misleading error message which says "Timecode frame rate must be specified". Changed message to account for values under one. Also noted supported framerates for drop TC. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 2ba6e04166..5c6729a484 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -7365,7 +7365,9 @@ format. It can be used with or without text parameter. @var{timecode_rate}
option must be specified.
@item timecode_rate, rate, r
-Set the timecode frame rate (timecode only).
+Set the timecode frame rate (timecode only). Value will be rounded to nearest
+integer. Minimum value is "1".
+Drop-frame timecode is supported for frame rates 30 & 60.
@item tc24hmax
If set to 1, the output of the timecode option will wrap around at 24 hours.