mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
4de7fdfa3a
The driver has an internal buffer of unspecified and unconfigurable size, and it will pull data from our ring buffer as fast as it can until that is full. Unfortunately that means that we pull silence from the ringbuffer unless its size is by conincidence larger than the driver's internal ringbuffer. The good news is that it's not required to completely fill the buffer for proper playback. So we now throttle reading from the ringbuffer whenever the driver has buffered more than half of our ringbuffer size by waiting on the clock for the amount of time until it has buffered less than that again. |
||
---|---|---|
.. | ||
linux | ||
osx | ||
win | ||
gstdecklink.cpp | ||
gstdecklink.h | ||
gstdecklinkaudiosink.cpp | ||
gstdecklinkaudiosink.h | ||
gstdecklinkaudiosrc.cpp | ||
gstdecklinkaudiosrc.h | ||
gstdecklinkvideosink.cpp | ||
gstdecklinkvideosink.h | ||
gstdecklinkvideosrc.cpp | ||
gstdecklinkvideosrc.h | ||
Makefile.am |