mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-22 08:05:06 +03:00
When RPiCameraData::clearIncompleteRequests() clears out the request
queue during a stop condition, it unconditionally calls completeBuffer()
on all buffers in each request. This is wrong, as a buffer could have
already been completed as part of the current request, but the request
itself may not yet have completed.
Fix this by checking if the buffers in the request have been completed
before cancelling them.
Fixes:
|
||
---|---|---|
.. | ||
android | ||
cam | ||
gstreamer | ||
ipa | ||
lc-compliance | ||
libcamera | ||
qcam | ||
v4l2 | ||
meson.build |