summaryrefslogtreecommitdiff
path: root/src/cam/event_loop.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-07 03:45:05 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-22 17:14:05 +0300
commite0704e97ea8907b13c769e0d2958829f94e65a96 (patch)
tree72fa1062eafda388bf7b52258098a2571a2c872a /src/cam/event_loop.cpp
parent721f4b03d80fc7b65cfb4c7ecebe545ef1fe0565 (diff)
cam: Support using multiple cameras concurrently
To allow testing capture from multiple cameras concurrently, turn the --camera option into an array option, and create one CameraSession per specified camera. The code is adapted to iterate over the sessions vector instead of handling a single session. Thanks to all the refactoring previously performed, changes are minimal. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/event_loop.cpp')
0 files changed, 0 insertions, 0 deletions