[libcamera-devel] [PATCH 1/2] libcamera: pipeline: simple: Set camera properties
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Wed Oct 21 02:24:17 CEST 2020
Initialize the CameraData properties with the properties exposed by the
sensor.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
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 8868a43beeb4..4b6f708e8fee 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;
}
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list