summaryrefslogtreecommitdiff
path: root/package/gentoo/media-libs
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2024-10-11 14:52:21 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2024-10-15 10:31:47 +0530
commita2be725d2652ba71d23adf36bb8a1342947debbf (patch)
tree2cd50dc87c83b4a46426087f6da2f958a8d50e95 /package/gentoo/media-libs
parent326e0aa834487dd50610c0ff0423acc48d7b2298 (diff)
libcamera: rkisp1: Rectify SensorConfiguration check
The 'found' flag was mistakenly understood that a compatible sensor format has been found when a sensor configuration is passed in. However, 'found' related to the stream configuration's pixelformat, whether it is supported by the RkISP1Path video node or not. It does not relate to the sensor format, hence the check: if (sensorConfig && !found) doesn't make sense. Rectify the above check with: if (sensorConfig && !rawFormat.isValid()) to ensure a sensor format compatible with sensor configuration has been set to rawFormat. Fixes: 047d647452c4 ("libcamera: rkisp1: Integrate SensorConfiguration support") Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'package/gentoo/media-libs')
0 files changed, 0 insertions, 0 deletions