mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
impl-core: store hello version in core resource
So that we can later get the client core version from the resource.
This commit is contained in:
parent
aae770f18b
commit
59cd5670d7
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ static int core_hello(void *object, uint32_t version)
|
|||
pw_log_debug("%p: hello %d from resource %p", context, version, resource);
|
||||
pw_map_for_each(&client->objects, destroy_resource, client);
|
||||
|
||||
resource->version = version;
|
||||
|
||||
pw_mempool_clear(client->pool);
|
||||
|
||||
this->info.change_mask = PW_CORE_CHANGE_MASK_ALL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue