[libcamera-devel] [PATCH] libcamera: pipeline: rkisp1: don't fail if sensorInfo fails
Jacopo Mondi
jacopo at jmondi.org
Wed Apr 29 23:56:58 CEST 2020
Hi Dafna,
good catch, my bad!
On Wed, Apr 29, 2020 at 11:44:50PM +0200, Dafna Hirschfeld wrote:
> When starting the streaming, it might be that the call
> to sensorInfo fails. This does not mean that the camera can't
> stream so set 'ret' to 0
>
This might be worth a
Fixes: fd554f9dba31 ("libcamera: ipa: Add support for CameraSensorInfo")
which can be added when applying though
> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld at collabora.com>
Reviewed-by: Jacopo Mondi <jacopo at jmondi.org>
Thanks
j
> ---
> src/libcamera/pipeline/rkisp1/rkisp1.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
> index 1a34ffe..6aa3178 100644
> --- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
> +++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
> @@ -828,6 +828,7 @@ int PipelineHandlerRkISP1::start(Camera *camera)
> /* \todo Turn this in an hard failure. */
> LOG(RkISP1, Warning) << "Camera sensor information not available";
> sensorInfo = {};
> + ret = 0;
> }
>
> std::map<unsigned int, IPAStream> streamConfig;
> --
> 2.17.1
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
More information about the libcamera-devel
mailing list