diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2012-08-03 15:40:15 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-08-08 09:11:26 +0200 |
commit | 4b365b08685b0ab9df3f4bae4ee8b6506eb637ea (patch) | |
tree | 4daf96f657d99fb8145976784062f1255cd322d5 /libavutil/timecode.h | |
parent | 6b3484dcbc6fe6a5f3d0919922790592c9d5a608 (diff) | |
download | ffmpeg-4b365b08685b0ab9df3f4bae4ee8b6506eb637ea.tar.gz |
lavu/timecode: add av_timecode_check_frame_rate().
Diffstat (limited to 'libavutil/timecode.h')
-rw-r--r-- | libavutil/timecode.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/timecode.h b/libavutil/timecode.h index be4102e577..17d6b95ffd 100644 --- a/libavutil/timecode.h +++ b/libavutil/timecode.h @@ -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 */ |