mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
eecb9a96a6
Query the amount of available buffers when doing set_config(). This allows us to configure the parent bufferpool with the number of buffers to preallocate. Keep track of the provided allocator and use it when we need to allocate a buffer in RW mode. When we are can not allocate the requested max_buffers amount of buffers, make sure we keep 2 buffers around in the pool and copy them into an output buffer. This makes sure that we always have a buffer to capture into. We also need to detect those copied buffers and unref them when they return to the pool. |
||
---|---|---|
.. | ||
directsound | ||
oss | ||
oss4 | ||
osxaudio | ||
osxvideo | ||
sunaudio | ||
v4l2 | ||
waveform | ||
ximage | ||
Makefile.am |