pipewire/spa/plugins/libcamera
Barnabás Pőcze 83a510cba3 spa: libcamera: fix hook adding logic
Previously, if "add_listener" was called on the monitor device, then it
did not necessarily emit events about all devices because it called
`enum_devices()` which does not emit events about already existing
devices. So the very first listener would get all existing devices,
but subsequent ones would not get events about the existence of devices
that have already been seen by the monitor. Fix that by simply emitting
events about all existing devices if the current listener is not the first.
2022-09-15 11:17:47 +00:00
..
libcamera-client.c
libcamera-device.cpp
libcamera-manager.cpp
libcamera-manager.hpp
libcamera-source.cpp
libcamera-utils.cpp
libcamera.c
libcamera.h
meson.build