From 63ea8e0610d08531464e08f9cb7d845014ed37c8 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 26 Oct 2015 14:52:40 +0100 Subject: timecode: Support HFR values --- libavutil/timecode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/timecode.c b/libavutil/timecode.c index 073b82f766..6432a3cd0c 100644 --- a/libavutil/timecode.c +++ b/libavutil/timecode.c @@ -141,7 +141,9 @@ char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit) static int check_fps(int fps) { int i; - static const int supported_fps[] = {24, 25, 30, 48, 50, 60}; + static const int supported_fps[] = { + 24, 25, 30, 48, 50, 60, 100, 120, 150, + }; for (i = 0; i < FF_ARRAY_ELEMS(supported_fps); i++) if (fps == supported_fps[i]) -- cgit v1.2.3