mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
videotimecode: Allow 24000/1001 frame rate
https://bugzilla.gnome.org/show_bug.cgi?id=796107
This commit is contained in:
parent
4d193c2df4
commit
1a8c6197c7
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ gst_video_time_code_is_valid (const GstVideoTimeCode * tc)
|
|||
if (tc->frames >= fr && (tc->config.fps_n != 0 || tc->config.fps_d != 1))
|
||||
return FALSE;
|
||||
if (tc->config.fps_d == 1001) {
|
||||
if (tc->config.fps_n != 30000 && tc->config.fps_n != 60000)
|
||||
if (tc->config.fps_n != 30000 && tc->config.fps_n != 60000 &&
|
||||
tc->config.fps_n != 24000)
|
||||
return FALSE;
|
||||
} else if (tc->config.fps_n % tc->config.fps_d != 0) {
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue