mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
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
This commit is contained in:
parent
d1ed94491e
commit
ae7ecfceed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue