mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
session-manager: emit cached info with CHANGE_MASK_ALL on new resources
This commit is contained in:
parent
1eec6c3588
commit
6ecbe00774
4 changed files with 8 additions and 0 deletions
|
|
@ -207,7 +207,9 @@ static int global_bind(void *_data, struct pw_impl_client *client,
|
|||
&data->object_listener,
|
||||
&link_methods, data);
|
||||
|
||||
impl->cached_info->change_mask = PW_ENDPOINT_LINK_CHANGE_MASK_ALL;
|
||||
pw_endpoint_link_resource_info(resource, impl->cached_info);
|
||||
impl->cached_info->change_mask = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,7 +198,9 @@ static int global_bind(void *_data, struct pw_impl_client *client,
|
|||
&data->object_listener,
|
||||
&stream_methods, data);
|
||||
|
||||
impl->cached_info->change_mask = PW_ENDPOINT_STREAM_CHANGE_MASK_ALL;
|
||||
pw_endpoint_stream_resource_info(resource, impl->cached_info);
|
||||
impl->cached_info->change_mask = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -207,7 +207,9 @@ static int global_bind(void *_data, struct pw_impl_client *client,
|
|||
&data->object_listener,
|
||||
&endpoint_methods, data);
|
||||
|
||||
impl->cached_info->change_mask = PW_ENDPOINT_CHANGE_MASK_ALL;
|
||||
pw_endpoint_resource_info(resource, impl->cached_info);
|
||||
impl->cached_info->change_mask = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,7 +198,9 @@ static int global_bind(void *_data, struct pw_impl_client *client,
|
|||
&data->object_listener,
|
||||
&session_methods, data);
|
||||
|
||||
impl->cached_info->change_mask = PW_SESSION_CHANGE_MASK_ALL;
|
||||
pw_session_resource_info(resource, impl->cached_info);
|
||||
impl->cached_info->change_mask = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue