diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-08 03:49:29 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-21 22:09:50 +0300 |
commit | d0e665c3eda56977ca8529ae698400ce0e65fac6 (patch) | |
tree | b43f1404603d37aa84ac3d3643795374bb10fab3 /src | |
parent | 8ddaa824ab2302e8d5b8926b1d8a51df7eb47f29 (diff) |
libcamera: pipeline: simple: Set camera properties
Initialize the CameraData properties with the properties exposed by the
sensor.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Tested-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/simple/simple.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index 216ef538..0d48e1b6 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -324,6 +324,8 @@ int SimpleCameraData::init() return -EINVAL; } + properties_ = sensor_->properties(); + return 0; } |