1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-23 21:54:53 +02:00

lavu/timecode: add av_timecode_check_frame_rate().

This commit is contained in:
Clément Bœsch
2012-08-03 15:40:15 +02:00
committed by Clément Bœsch
parent 6b3484dcbc
commit 4b365b0868
3 changed files with 27 additions and 10 deletions

View File

@@ -140,4 +140,11 @@ int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start
*/
int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx);
/**
* Check if the timecode feature is available for the given frame rate
*
* @return 0 if supported, <0 otherwise
*/
int av_timecode_check_frame_rate(AVRational rate);
#endif /* AVUTIL_TIMECODE_H */