summaryrefslogtreecommitdiff
path: root/test/file-descriptor.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-01-12 10:21:39 +0530
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-01-12 14:06:56 +0000
commitc0bad607ce16ea66aa9c4de892598793402281c6 (patch)
tree88fa59275f9b9f1478cbcee7a942d00d69ea4bbb /test/file-descriptor.cpp
parent5988661c9047fc04840603068a94466719319725 (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/file-descriptor.cpp')
0 files changed, 0 insertions, 0 deletions