[libcamera-devel] [PATCH 1/2] libcamera: pipeline: simple: Set camera properties
Niklas Söderlund
niklas.soderlund at ragnatech.se
Wed Oct 21 13:38:51 CEST 2020
Hi Laurent,
Thanks for your work.
On 2020-10-21 03:24:17 +0300, Laurent Pinchart wrote:
> Initialize the CameraData properties with the properties exposed by the
> sensor.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
> 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
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
--
Regards,
Niklas Söderlund
More information about the libcamera-devel
mailing list