diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-05-08 10:45:53 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-06-14 12:26:27 +0200 |
commit | f461ffb69a85b6df6a8413cb7716e2b89414d64e (patch) | |
tree | 093645dd6813f46d0e30013c3e4e4d3e20263177 /src/gstreamer/gstlibcameraprovider.h | |
parent | d09838ef3e83abc2ad37752b64c91267d7309d95 (diff) |
libcamera: pipeline_handler: Cancel Request on queueing failure
Capture requests are queued by the PipelineHandler base class to each
pipeline handler implementation using the virtual queueRequestDevice()
function.
However, if the pipeline handler fails to queue the request to the
hardware, the request gets silently deleted from the list of queued
ones, without notifying application of the error.
Reporting to applications that a Request has failed to queue by
cancelling and then completing it allows applications to maintain their
request-tracking mechanism consistent with the one internal to the library.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcameraprovider.h')
0 files changed, 0 insertions, 0 deletions