From 1a8c6197c7b8027e5ac0dad68fdf319a400d0e36 Mon Sep 17 00:00:00 2001 From: Georg Lippitsch Date: Wed, 13 Dec 2017 12:30:54 +0100 Subject: [PATCH] videotimecode: Allow 24000/1001 frame rate https://bugzilla.gnome.org/show_bug.cgi?id=796107 --- gst-libs/gst/video/gstvideotimecode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/video/gstvideotimecode.c b/gst-libs/gst/video/gstvideotimecode.c index 400c224b0c..a2e1ded0c8 100644 --- a/gst-libs/gst/video/gstvideotimecode.c +++ b/gst-libs/gst/video/gstvideotimecode.c @@ -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;