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:
Laurent Pinchart
2020-10-08 03:49:29 +03:00
parent 8ddaa824ab
commit d0e665c3ed

View File

@@ -324,6 +324,8 @@ int SimpleCameraData::init()
return -EINVAL;
}
properties_ = sensor_->properties();
return 0;
}