mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-11 11:04:10 -04:00
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. |
||
|---|---|---|
| .. | ||
| daemon | ||
| examples | ||
| gst | ||
| modules | ||
| pipewire | ||
| tests | ||
| tools | ||
| meson.build | ||