mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
global: keep track of child globals
Keep track of the child globals and unregister when the parent is unregistered.
This commit is contained in:
parent
b474666e2e
commit
d39d15b0d9
2 changed files with 17 additions and 3 deletions
|
|
@ -146,6 +146,8 @@ struct pw_global {
|
|||
struct spa_list link; /**< link in core list of globals */
|
||||
uint32_t id; /**< server id of the object */
|
||||
struct pw_global *parent; /**< parent global */
|
||||
struct spa_list child_link; /**< link in parent child list of globals */
|
||||
struct spa_list child_list; /**< The list of child globals */
|
||||
|
||||
struct pw_properties *properties; /**< properties of the global */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue