libcamera/src
Laurent Pinchart 4e79b2ef31 libcamera: v4l2_videodevice: Signal buffer completion at streamoff time
When stopping the stream buffers have been queued, in which case their
completion is never be notified to the user. This can lead to memory
leaks. Fix it by notifying completion of all queued buffers with the
status set to error.

As a result the base PipelineHandler implementation can be simplified,
as all requests complete as the result of stopping the stream. The
stop() method that manually completes all queued requests isn't needed
anymore.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
2019-07-14 16:00:56 +03:00
..
cam libcamera: buffer: Split memory information to BufferMemory 2019-07-14 16:00:54 +03:00
ipa libcamera: ipa: meson: build dummy IPA that needs isolation 2019-07-12 16:32:29 +09:00
libcamera libcamera: v4l2_videodevice: Signal buffer completion at streamoff time 2019-07-14 16:00:56 +03:00
qcam libcamera: buffer: Split memory information to BufferMemory 2019-07-14 16:00:54 +03:00
meson.build libcamera: ipa_manager: implement class for managing IPA modules 2019-06-05 10:44:52 -04:00