Skip to content

v4l2bufferpool: Queue number of allocated buffers to capture

Nicolas Dufresne requested to merge ndufresne/gst-plugins-good:v4l2-fixes into master

Before we do streamon, we queue all capture buffers by calling resurrect. When the driver supports CREATE_BUFS, this would lead to buffers being allocated till the maximum of 32 is reached.

Instead, we now save the number of allocated buffers and queue this amount.

Merge request reports