pipewire/spa
Barnabás Pőcze bf886ba209 support: also protect against recursive invocations
Add an extra private field to the source to store the pollevent of
the current iteration. This changes ABI but it seems an embedded source
is not used outside of our own plugins and the unit test doesn't test
this ABI case.

Whenever a source is removed, we can set the data field of the
pollevent to NULL so that it won't be handled in any iteration anymore.

Avoid dispatching the same event multiple times when doing recursive
iterations.

Add some more unit tests for this.

Fixes #2114
2022-02-08 17:21:10 +01:00
..
examples treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
include support: also protect against recursive invocations 2022-02-08 17:21:10 +01:00
plugins support: also protect against recursive invocations 2022-02-08 17:21:10 +01:00
tests Fix build on recent FreeBSD 13-STABLE 2022-01-26 14:37:19 +03:00
tools json: spa_json_get_string() writes up to len chars or fail 2022-01-04 10:42:32 +01:00
meson.build treewide: meson.build: use feature.allowed() 2022-02-04 00:15:59 +01:00