summaryrefslogtreecommitdiff
path: root/LICENSES/LGPL-2.1-or-later.txt
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2024-03-08 11:42:18 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-03-11 14:50:14 +0000
commit01935edbba586df820db002671da7bd0a348ad8e (patch)
tree2d9b5911aaec8fec48a615e36f815a1a46e6adce /LICENSES/LGPL-2.1-or-later.txt
parentcdb07a02179ee557bc35234ea852eceff35a4980 (diff)
cam: capture_script: Make parseRectangles work for non-array
parseRectangles currently always parses Rectangle controls as an array of Rectangles. This causes non-array Rectangle controls to not be parsed correctly, as when the ControlValue is get()ed, the non-array assertion will fail. Set the ControlValue with a single Rectangle in case a single Rectangle has been specified in the yaml capture script to fix that. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'LICENSES/LGPL-2.1-or-later.txt')
0 files changed, 0 insertions, 0 deletions