[FFmpeg-cvslog] timecode: Support HFR values
Vittorio Giovara
git at videolan.org
Mon Oct 26 15:12:16 CET 2015
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Oct 26 14:52:40 2015 +0100| [63ea8e0610d08531464e08f9cb7d845014ed37c8] | committer: Michael Niedermayer
timecode: Support HFR values
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=63ea8e0610d08531464e08f9cb7d845014ed37c8
---
libavutil/timecode.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavutil/timecode.c b/libavutil/timecode.c
index 073b82f..6432a3c 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])
More information about the ffmpeg-cvslog
mailing list