[0/1] Recycle V4L2BufferCache when VIDIOC_QBUF fails
mbox series

Message ID 20240912051409.3495486-1-chenghaoyang@google.com
Headers show
Series
  • Recycle V4L2BufferCache when VIDIOC_QBUF fails
Related show

Message

Harvey Yang Sept. 12, 2024, 5:09 a.m. UTC
Hi folks,

This fixes issues in V4L2VideoDevice::queueBuffer of unrecycled buffers
when something goes wrong.

It passes gitlab pipeline:
https://gitlab.freedesktop.org/chenghaoyang/libcamera/-/pipelines/1269604


BR,
Harvey



Han-Lin Chen (1):
  libcamera: Put buffer back to V4L2BufferCache when VIDIOC_QBUF fails

 src/libcamera/v4l2_videodevice.cpp | 8 ++++++++
 1 file changed, 8 insertions(+)