libcamera: pipeline: simple: Set camera properties
Initialize the CameraData properties with the properties exposed by the sensor. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Tested-by: Andrey Konovalov <andrey.konovalov@linaro.org>
This commit is contained in:
@@ -324,6 +324,8 @@ int SimpleCameraData::init()
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
properties_ = sensor_->properties();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user