libcamera/src/gstreamer
Barnabás Pőcze e77a275110 treewide: Query list of cameras just once
This is more efficient since only a single vector will be constructed,
and furthermore, it prevents the TOCTOU issue that might arise when
the list of cameras changes between the two queries.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-05-21 13:22:33 +01:00
..
gstlibcamera-utils.cpp gstreamer: Fix string memory leak 2024-05-14 23:45:19 +03:00
gstlibcamera-utils.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamera.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
gstlibcameraallocator.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcameraallocator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerapad.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerapad.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerapool.cpp libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerapool.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcameraprovider.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
gstlibcameraprovider.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerasrc.cpp treewide: Query list of cameras just once 2024-05-21 13:22:33 +01:00
gstlibcamerasrc.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
meson.build gstreamer: Add meson devenv support 2024-01-23 02:21:39 +02:00