Browse Source

timecode: Support HFR values

tags/n3.0
Vittorio Giovara Michael Niedermayer 10 years ago
parent
commit
63ea8e0610
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavutil/timecode.c

+ 3
- 1
libavutil/timecode.c View File

@@ -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])


Loading…
Cancel
Save