diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-01-12 10:21:39 +0530 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-01-12 14:06:56 +0000 |
commit | c0bad607ce16ea66aa9c4de892598793402281c6 (patch) | |
tree | 88fa59275f9b9f1478cbcee7a942d00d69ea4bbb /test/pipeline/rkisp1/rkisp1_pipeline_test.cpp | |
parent | 5988661c9047fc04840603068a94466719319725 (diff) |
libcamera: v4l2_videodevice: Track streaming state
Track the state of streamon/streamoff calls to simplify error paths.
Ensuring that streamOff() can be called on non-streaming streams
facilitates simpler error code paths, where a set of devices can all
call streamOff regardless of their initialisation state.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/pipeline/rkisp1/rkisp1_pipeline_test.cpp')
0 files changed, 0 insertions, 0 deletions