gstreamer/gst/timecode
Sebastian Dröge 0dc783d719 timecodestamper: Refactor LTC audio waiting and properly handle live inputs
If one of the inputs is live, add a latency of 2 frames to the video
stream and wait on the clock for that much time to pass to allow for the
LTC audio to be ahead.

In case of live LTC, don't do any waiting but only ensure that we don't
overflow the LTC queue.

Also in non-live LTC audio mode, flush too old items from the LTC queue
if the video is actually ahead instead of potentially waiting forever.
This could've happened if there was a bigger gap in the video stream.
2019-12-30 09:36:23 +00:00
..
gstavwait.c avwait: Improve debug output a bit 2019-08-06 16:22:27 +00:00
gstavwait.h avwait: Add support for setting an end running time 2019-06-24 14:20:54 +03:00
gsttimecodestamper.c timecodestamper: Refactor LTC audio waiting and properly handle live inputs 2019-12-30 09:36:23 +00:00
gsttimecodestamper.h timecodestamper: Refactor LTC audio waiting and properly handle live inputs 2019-12-30 09:36:23 +00:00
meson.build timecodestamper: Add support for linear timecode (LTC) from an audio stream 2019-07-08 16:45:12 +00:00
plugin.c avwait: Rename timecodewait to avwait, add modes 2017-01-26 16:21:55 +02:00