diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-26 16:52:40 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-26 17:05:26 +0300 |
commit | 63ea8e0610d08531464e08f9cb7d845014ed37c8 (patch) | |
tree | 026d3820b9003bdb9e41acae76ac56ba4135a8b9 | |
parent | 8c2214822052c4d5ccbfcbd2ea4781298e6e8e8d (diff) |
timecode: Support HFR values
-rw-r--r-- | libavutil/timecode.c | 4 |
1 files changed, 3 insertions, 1 deletions
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]) |