Skip to content

WIP: v4l2bufferpool: Don't produce non-dmabuf buffers for io-mode=dmabuf and enhance allocation result code

  1. If there are v4l2 elements with io-mode=dmabuf-import in the pipeline, then producing non-dmabuf buffers leads to errors.
  2. There are many error messages "allocation failed" in the log when a queue of v4l2 driver is underflow and the driver can't allocate an additional buffer. They are irrelevant to the actual problem, and in most cases, the inability to allocate extra buffer is not an error. This is an error only if there is no buffer in the pool.
Edited by andrey-khamukhin

Merge request reports