lavu/timecode: clarify error msg for timecode_rate
authorGyan Doshi <gyandoshi@gmail.com>
Sun, 5 Nov 2017 15:59:22 +0000 (21:29 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Nov 2017 23:53:11 +0000 (00:53 +0100)
commit84556ef05963138cbc39fa1a39b790dffe15ffe8
treee90909b42e24e42f024a045afbf92600d69066b0
parent1b323c3f9c8997c4df8e843cb065f10d097ae18c
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>
doc/filters.texi
libavutil/timecode.c