diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-30 17:13:32 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-01-18 10:39:13 +0100 |
commit | 87ceac9c8cc0afb3be0f68155cd0f906cbb98120 (patch) | |
tree | 1a4fb0f8a7aa2563609899933407691c52827983 /src/cam/capture.cpp | |
parent | 8deb7e4331c3616e15c7f40625ac623e1ccd5551 (diff) |
libcamera: camera_sensor: Default 'location' to External
If the sensor driver does not report the camera location default it
to 'External' instead of 'Front'.
As the camera location is used to construct the camera unique name
presented to the user, it makes more sense to report multiple 'External'
cameras instead of multiple 'Front' ones.
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/cam/capture.cpp')
0 files changed, 0 insertions, 0 deletions