libcamera: pipeline: rkisp1: Don't fail if sensorInfo fails
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.
Fixes: fd554f9dba ("libcamera: ipa: Add support for CameraSensorInfo")
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
committed by
Laurent Pinchart
parent
49856afa01
commit
80551b8754
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user