diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-03-25 09:09:00 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-03-28 02:17:22 +0300 |
commit | 988ec3f417886cc8202ccc7932ac2f95e89db061 (patch) | |
tree | be3d8b86fb67ff4436ffab64991b348006391817 /test/utils.cpp | |
parent | ec173ef5d31b98890bacf3e9f3d912c8a8748ec7 (diff) |
libcamera: v4l2_videodevice: Better tracking of the device state
Replace the existing streaming_ state variable with an enum to track the
following three state: Streaming, Stopping, and Stopped. The alternate states
will be used in a subsequent commit.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/utils.cpp')
0 files changed, 0 insertions, 0 deletions