diff options
author | Vivia Nikolaidou <vivia@ahiru.eu> | 2018-09-03 15:15:45 +0300 |
---|---|---|
committer | Vivia Nikolaidou <vivia@ahiru.eu> | 2018-09-03 15:15:45 +0300 |
commit | ae7ecfceed5763097d2e40e315cea2cdae168071 (patch) | |
tree | c6e34d9807607eb38b2242f9e308c928edb10d91 | |
parent | d1ed94491ee2c4cda59b55978d446e518a8b516e (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
-rw-r--r-- | gst/timecode/gsttimecodestamper.c | 2 |
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 |