pipewire/spa/plugins/libcamera
Barnabás Pőcze 19d9bb7219 spa: libcamera: source: create eventfd before starting camera
An eventfd is used to signal the data loop from the libcamera request
completion event handler. Previously, this eventfd was created and
installed after the camera has been started and requests were queued.

This is problematic because it creates a small time frame where the
libcamera request completion handler will run in a state where the
eventfd is not fully set up.

Fix that by settup up the eventfd before the camera is started.

(cherry picked from commit e0e8bf083d)
2025-09-26 09:58:10 +02:00
..
libcamera-device.cpp spa: libcamera: use nullptr instead of NULL 2025-09-26 09:58:10 +02:00
libcamera-manager.cpp spa: libcamera: manager: fix id allocation 2025-09-26 09:58:10 +02:00
libcamera-manager.hpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
libcamera-source.cpp spa: libcamera: source: create eventfd before starting camera 2025-09-26 09:58:10 +02:00
libcamera.c spa: export log topic enumerations 2024-01-04 10:02:55 +00:00
libcamera.h spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
meson.build meson: fix build with missing libudev-devel 2024-02-06 11:49:40 +01:00