timecode: Support HFR values
This commit is contained in:
parent
8c22148220
commit
63ea8e0610
@ -141,7 +141,9 @@ char *av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit)
|
|||||||
static int check_fps(int fps)
|
static int check_fps(int fps)
|
||||||
{
|
{
|
||||||
int i;
|
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++)
|
for (i = 0; i < FF_ARRAY_ELEMS(supported_fps); i++)
|
||||||
if (fps == supported_fps[i])
|
if (fps == supported_fps[i])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user