mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
metadata: set bound id on the exporting resource
This commit is contained in:
parent
d607a461ce
commit
613824ab0b
1 changed files with 1 additions and 0 deletions
|
|
@ -274,6 +274,7 @@ pw_metadata_new(struct pw_context *context, struct pw_resource *resource,
|
||||||
&impl->global_listener,
|
&impl->global_listener,
|
||||||
&global_events, impl);
|
&global_events, impl);
|
||||||
|
|
||||||
|
pw_resource_set_bound_id(resource, pw_global_get_id (impl->global));
|
||||||
pw_global_register(impl->global);
|
pw_global_register(impl->global);
|
||||||
|
|
||||||
pw_resource_add_listener(resource,
|
pw_resource_add_listener(resource,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue