timecodestamper: Fix up handling/queueing of LTC timecodes
authorSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jan 2020 15:41:55 +0000 (17:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 10 Jan 2020 13:59:24 +0000 (15:59 +0200)
commitd7bb5b8a16211b5ea5906d6238f270e3c2fce9b7
tree8769af43409812410e0e9525b381becad6578f5c
parent0a53f6560a373b0c00e20e4f9850c88f8f993d21
timecodestamper: Fix up handling/queueing of LTC timecodes

Directly read them out of the decoder as soon as we passed audio and
then store them in a queue that we handle internally together with their
timestamps. This cleans up memory management and gives us proper control
over the queue instead of guessing how the queue inside the LTC decoder
actually works and when it overflows.
gst/timecode/gsttimecodestamper.c
gst/timecode/gsttimecodestamper.h