libcamera/src
Stefan Klug fa0013c953 libcamera: yaml_parser: Output more details when parsing fails
On malformed yaml files, the yaml parser only errors out without giving
details on the error that happened. Fix that by providing a more detailed
error message.

Output old:

ERROR YamlParser yaml_parser.cpp:886 Failed to parse YAML content from /root/imx283.yaml

Output new:

ERROR YamlParser yaml_parser.cpp:627 /root/imx283.yaml:72:8 could not find expected ':' while scanning a simple key
ERROR YamlParser yaml_parser.cpp:886 Failed to parse YAML content from /root/imx283.yaml

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2024-12-05 22:29:57 +02:00
..
android meson: Don't unnecessarily fallback to libyuv wrap 2024-11-26 19:05:17 +02:00
apps qcam: Use pointer when choosing camera 2024-11-29 22:13:20 +00:00
gstreamer gstreamer: Generate controls from control_ids_*.yaml files 2024-11-05 16:28:09 +00:00
ipa libipa: agc_mean_luminance: Rename yaml key from exposure-time to exposureTime 2024-12-04 17:09:26 +01:00
libcamera libcamera: yaml_parser: Output more details when parsing fails 2024-12-05 22:29:57 +02:00
py py: Add bindings for ControlId array information 2024-11-25 22:28:26 +09:00
v4l2 v4l2: v4l2_camera_proxy: Fix VIDIOC_[GS]_PARM support 2024-11-05 15:29:22 +02:00
meson.build meson: Don't unnecessarily fallback to libyuv wrap 2024-11-26 19:05:17 +02:00