mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
4a68decb52
Abuse libdvbsub PTS tracking to just store our running time in it, to get it back in the callbacks. As GStreamer does its own PTS handling behind our back (especially for video), we should just sync with video per running time, not try to do it with PTS, which doesn't seem well accessible for video chain. We can later relabel dvb-sub.c pts naming convention if wanted, it's just passing along guint64 values, which GstClockTime fortunately is too. The current idea is to collect the regions returned by the callback into a FIFO buffer and pop and pre-render the top one into a separate quick-to-blend cached format, which is then appropriately blended in the video chain until the next one on top of the stack reaches the video chains running time (or the fallback timer hits). |
||
---|---|---|
.. | ||
dvb-sub.c | ||
dvb-sub.h | ||
ffmpeg-colorspace.h | ||
gstdvbsuboverlay.c | ||
gstdvbsuboverlay.h | ||
Makefile.am | ||
TODO |