diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-09-21 09:02:58 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-09-23 11:01:21 +0100 |
commit | a64d17b9cff1b7361ebea31b7ae1dc1357493670 (patch) | |
tree | d9f1c2bee1d51d24c7ff9ead959aa38da541266d /src/qcam/dng_writer.h | |
parent | 883e2089db307955abecfcdc95f1a85ee0be56c0 (diff) |
pipeline: raspberrypi: Improve Unicam timeout handling
Currently, if a Unicam timeout is signalled, the pipeline handler only raises
an error message. Update the error handling to put the pipeline handler in an
internal error state, disable all device streams, and return all outstanding
requests as cancelled. Any subsequent requests that come into the pipeline
handler will also be returned as cancelled.
Any further error handling (e.g. a reset with camera stop()/start()) is up to
the application to perform as it requires.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/qcam/dng_writer.h')
0 files changed, 0 insertions, 0 deletions