From: Sebastian Dröge Date: Thu, 9 Jan 2020 13:16:02 +0000 (+0200) Subject: timecodestamper: Use the internal LTC timecode tracker instead of the last one we... X-Git-Tag: 1.19.3~507^2~2443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31d7862051098cc0f15a2a1ffe8317304c59edcd;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/timecode/gsttimecodestamper.c b/gst/timecode/gsttimecodestamper.c index 0d86488..d700cb6 100644 --- a/gst/timecode/gsttimecodestamper.c +++ b/gst/timecode/gsttimecodestamper.c @@ -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,