mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
context: fix context_id, use the client bound id
This commit is contained in:
parent
813e2d22a6
commit
f30a8f6895
2 changed files with 13 additions and 1 deletions
|
|
@ -1282,6 +1282,8 @@ pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb,
|
|||
pa_assert(c->refcount >= 1);
|
||||
pa_assert(cb);
|
||||
|
||||
pa_context_ensure_registry(c);
|
||||
|
||||
o = pa_operation_new(c, NULL, server_info, sizeof(struct server_data));
|
||||
d = o->userdata;
|
||||
d->context = c;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue