summaryrefslogtreecommitdiff
path: root/libavutil/timecode.c
Commit message (Collapse)AuthorAge
* avutil/timecode: fix starting frame number for 59.94 fpsGyan Doshi2018-02-23
| | | | | | | The existing code for adjusting starting frame number assumes 29.97 as stream fps. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu/timecode: clarify error msg for timecode_rateGyan Doshi2017-11-10
| | | | | | | | | | | 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>
* Fix all -Wformat warnings raised by DJGPPClément Bœsch2017-03-29
|
* avutil/timecode: Fix fps checkMichael Niedermayer2015-12-03
| | | | | | | | | | | | The fps variable is explicitly set to -1 in case of some errors, the check must thus be signed or the code setting it needs to use 0 as error code the type of the field could be changed as well but its in an installed header Fixes: integer overflow Fixes: 9982cc157b1ea90429435640a989122f/asan_generic_3ad004a_3799_22cf198d9cd09928e2d9ad250474fa58.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* timecode: Support HFR valuesVittorio Giovara2015-10-26
|
* timecode: Do not fail for non-standard frameratesVittorio Giovara2015-10-26
| | | | | | Instead just warn, and use the parse fps normally. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Timecode: Support 48fpsThierry Foucu2014-05-28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/timecode: fix time code calculation for 60000/1001 drop frameJason2013-01-24
| | | | | Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/timecode: Allow drop frame mode for 60000/1001 fpsJason2013-01-24
| | | | | Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: drop disabled FF_API_OLD_TC_ADJUST_FRAMENUM codeStefano Sabatini2012-11-04
|
* lavu/timecode: add av_timecode_check_frame_rate().Clément Bœsch2012-08-08
|
* timecode: show frame rate when invalid.Clément Bœsch2012-08-01
|
* avutil: support 50 and 60 frame rates in timecode apiMatthieu Bouron2012-07-27
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavu/timecode: use @see for URL in doxygen.Clément Bœsch2012-02-03
|
* lavu: add public timecode API.Clément Bœsch2012-02-02