diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-05-08 10:41:02 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-06-14 12:26:27 +0200 |
commit | d09838ef3e83abc2ad37752b64c91267d7309d95 (patch) | |
tree | 8a42cc70b34030d1e9ddda0ff99b12b2266ff56d /src/qcam/assets/feathericons/log-out.svg | |
parent | a86d281e52c772c4d40c6b9578c1eec8de8c5ca2 (diff) |
libcamera: request: Add Request::cancel()
Add a cancel() function to the Request class that allows to forcefully
complete the request and its associated buffers in error state.
Only pending requests can be forcefully cancelled. Enforce that
by asserting the request state to be RequestPending.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/log-out.svg')
0 files changed, 0 insertions, 0 deletions