pipewire/src
Julian Bouzas 1e817dff65 gst: device-provider: don't re-add metadata listener on permission change
PipeWire re-emits the registry global event for an existing object when the
client's permissions change. This can cause pw_metadata_add_listener() to be
called again on the same hook, corrupting the proxy's object_listener_list.

This is easily triggered by WirePlumber 0.5.15, whose reworked client access
logic sets portal permissions in several stages, causing the metadata global to
be announced more than once.

Bind the default metadata and add the listener only once, and tear down the
proxy and listener in global_remove so a genuine remove/re-add still works.
2026-07-09 10:21:25 +00:00
..
daemon pulse-server: add a pulse.zeroramp.gap property 2026-06-17 17:17:54 +02:00
examples impl-node: accept more node.passive values 2026-03-12 17:25:36 +01:00
gst gst: device-provider: don't re-add metadata listener on permission change 2026-07-09 10:21:25 +00:00
modules filter-graph: set io with the new method 2026-07-02 17:26:42 +02:00
pipewire docs: escape angle brackets in conf.c and fix page_core_api references 2026-06-26 12:46:00 +02:00
tests treewide: make more file descriptors cloexec 2026-05-04 19:48:41 +02:00
tools refactor: pr 2026-06-24 16:32:43 +00:00
meson.build meson.build: fix compile with -Dexamples=disabled 2023-11-28 10:18:25 +00:00