diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-07 03:45:05 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-22 17:14:05 +0300 |
commit | e0704e97ea8907b13c769e0d2958829f94e65a96 (patch) | |
tree | 72fa1062eafda388bf7b52258098a2571a2c872a /test/camera-sensor.cpp | |
parent | 721f4b03d80fc7b65cfb4c7ecebe545ef1fe0565 (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 'test/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions