libcamera/src/gstreamer
Laurent Pinchart 613202b809 gstreamer: Reduce indentation in gst_libcamera_create_video_pool()
Now that video pool creation is handled by a dedicated function, the
logic can be simplified by returning early instead of nesting scopes. Do
so to decrease indentation and improve readability, and document the
implementation of the function with comments.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2025-06-17 01:01:20 +03:00
..
gstlibcamera-controls.cpp.in gstreamer: Use Control<> objects when setting controls 2025-04-02 17:14:54 +02:00
gstlibcamera-controls.h gstreamer: Generate controls from control_ids_*.yaml files 2024-11-05 16:28:09 +00:00
gstlibcamera-utils.cpp gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcamera-utils.h gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcamera.cpp libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
gstlibcameraallocator.cpp gstreamer: allocator: gst_libcamera_allocator_new(): Fix memory leak 2025-01-10 12:14:27 +01:00
gstlibcameraallocator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerapad.cpp gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcamerapad.h gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcamerapool.cpp gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcamerapool.h gstreamer: Add GstVideoMeta support 2025-05-19 09:28:19 +01:00
gstlibcameraprovider.cpp gstreamer: Remove auto-focus-mode property from device provider 2024-11-05 16:28:09 +00:00
gstlibcameraprovider.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
gstlibcamerasrc.cpp gstreamer: Reduce indentation in gst_libcamera_create_video_pool() 2025-06-17 01:01:20 +03:00
gstlibcamerasrc.h gstreamer: Remove auto-focus-mode property from libcamerasrc 2024-11-05 16:28:09 +00:00
meson.build utils: codegen: Make users depend on controls.py in meson 2025-05-22 13:16:07 +02:00