libcamera: camera_sensor: Demote error message
The CameraSensor class is noisy enough in reporting the missing sensor driver features. Demote an error message about defaulting the active sensor area when retrieving the camera sensor info to a warning. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
parent
47a159234f
commit
c3269524e4
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ int CameraSensor::sensorInfo(CameraSensorInfo *info) const
|
||||||
int ret = subdev_->getSelection(pad_, V4L2_SEL_TGT_CROP, &info->analogCrop);
|
int ret = subdev_->getSelection(pad_, V4L2_SEL_TGT_CROP, &info->analogCrop);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
info->analogCrop = activeArea_;
|
info->analogCrop = activeArea_;
|
||||||
LOG(CameraSensor, Error)
|
LOG(CameraSensor, Warning)
|
||||||
<< "The analogue crop rectangle has been defaulted to the active area size";
|
<< "The analogue crop rectangle has been defaulted to the active area size";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue