From d0e665c3eda56977ca8529ae698400ce0e65fac6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 8 Oct 2020 03:49:29 +0300 Subject: libcamera: pipeline: simple: Set camera properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Initialize the CameraData properties with the properties exposed by the sensor. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Niklas Söderlund Tested-by: Andrey Konovalov --- src/libcamera/pipeline/simple/simple.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.1