diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-10-26 15:21:29 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | f6b6f15b54c27c144629fec0a880c4f870815011 (patch) | |
tree | cb491052bea30eec53eb62b5e37f15be652c13da /src/v4l2/v4l2_camera_proxy.cpp | |
parent | 6cd5c958b738dd7b06605adff915093f9fe0d513 (diff) |
libcamera: pipeline: Introduce stopDevice()
Since a queue of waiting Requests has been introduced, not all Requests
queued to the PipelineHandler are immediately queued to the device.
As a Camera can be stopped at any time, it is required to complete the
waiting requests after the ones queued to the device had been completed.
Introduce a pure virtual PipelineHandler::stopDevice() function to be
implemented by pipeline handlers and make the PipelineHandler::stop()
function call it before completing pending requests.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera_proxy.cpp')
0 files changed, 0 insertions, 0 deletions