session-manager: emit cached info with CHANGE_MASK_ALL on new resources

This commit is contained in:
George Kiagiadakis 2020-06-01 19:01:13 +03:00 committed by Wim Taymans
parent 1eec6c3588
commit 6ecbe00774
4 changed files with 8 additions and 0 deletions

View file

@ -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;
}