libcamera/src
Kieran Bingham a799415017 apps: qcam: Push the viewfinder role to vector
In commit ee2b011b65 ("apps: cam: Try raw role if default viewfinder
role fails"), the viewfinder role is specified as the default if no role
is yet chosen.

This was unfortunately added by directly accessing the vector rather
than extending the size when the vector is empty. Fix the code to push
the default viewfinder role on to the back of the vector, increasing the
size appropriately.

Fixes: ee2b011b65 ("apps: cam: Try raw role if default viewfinder role fails")
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Tested-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2025-05-08 10:51:11 +02:00
..
android meson: Don't unnecessarily fallback to libyuv wrap 2024-11-26 19:05:17 +02:00
apps apps: qcam: Push the viewfinder role to vector 2025-05-08 10:51:11 +02:00
gstreamer gstreamer: Fixate colorimetry field during caps negotiation 2025-04-23 13:50:53 +01:00
ipa ipa: rpi: awb: Remove "fast" parameter 2025-04-30 14:36:06 +02:00
libcamera libcamera: stream: Add color space to configuration string representation 2025-04-29 17:32:19 +03:00
py libcamera: camera_manager: Take camera id in std::string_view 2025-04-01 12:08:24 +02:00
v4l2 meson: Convert v4l2 into a feature option 2025-01-10 12:35:10 +01:00
meson.build libcamera: meson: Fix libyuv detection 2025-03-01 22:36:24 +00:00