mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
timecodestamper: Use the internal LTC timecode tracker instead of the last one we retrieved
Otherwise we don't interpolate between LTC timecodes but only ever put an LTC timecode on buffers once we actually received one.
This commit is contained in:
parent
6d6e897762
commit
31d7862051
1 changed files with 2 additions and 2 deletions
|
@ -1404,8 +1404,8 @@ gst_timecodestamper_transform_ip (GstBaseTransform * vfilter,
|
|||
break;
|
||||
case GST_TIME_CODE_STAMPER_SOURCE_LTC:
|
||||
#if HAVE_LTC
|
||||
if (timecodestamper->ltc_current_tc)
|
||||
tc = timecodestamper->ltc_current_tc;
|
||||
if (timecodestamper->ltc_internal_tc)
|
||||
tc = timecodestamper->ltc_internal_tc;
|
||||
#endif
|
||||
if (!tc) {
|
||||
tc = gst_video_time_code_new (timecodestamper->vinfo.fps_n,
|
||||
|
|
Loading…
Reference in a new issue