summaryrefslogtreecommitdiff
path: root/gst/timecode
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2018-09-03 15:15:45 +0300
committerVivia Nikolaidou <vivia@ahiru.eu>2018-09-03 15:15:45 +0300
commitae7ecfceed5763097d2e40e315cea2cdae168071 (patch)
treec6e34d9807607eb38b2242f9e308c928edb10d91 /gst/timecode
parentd1ed94491ee2c4cda59b55978d446e518a8b516e (diff)
timecodestamper: Fix typo in set_drop_frame
Was checking if fps_d == 60000 (instead of fps_n), causing 60000/1001 to be always falsely interpreted as non-drop-frame
Diffstat (limited to 'gst/timecode')
-rw-r--r--gst/timecode/gsttimecodestamper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/timecode/gsttimecodestamper.c b/gst/timecode/gsttimecodestamper.c
index b3c513ca0..31cfce2b2 100644
--- a/gst/timecode/gsttimecodestamper.c
+++ b/gst/timecode/gsttimecodestamper.c
@@ -263,7 +263,7 @@ gst_timecodestamper_set_drop_frame (GstTimeCodeStamper * timecodestamper)
{
if (timecodestamper->drop_frame && timecodestamper->vinfo.fps_d == 1001 &&
(timecodestamper->vinfo.fps_n == 30000 ||
- timecodestamper->vinfo.fps_d == 60000))
+ timecodestamper->vinfo.fps_n == 60000))
timecodestamper->current_tc->config.flags |=
GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME;
else