mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
client-device: first set implementation, then register
Setting the implementation updates the properties so that we have more info when creating the global.
This commit is contained in:
parent
7f7a8ccc88
commit
d57da19f26
1 changed files with 1 additions and 1 deletions
|
|
@ -53,9 +53,9 @@ static void device_info(void *data, const struct spa_device_info *info)
|
|||
{
|
||||
struct impl *impl = data;
|
||||
if (!impl->registered) {
|
||||
pw_impl_device_register(impl->device, NULL);
|
||||
pw_impl_device_set_implementation(impl->device,
|
||||
(struct spa_device*)impl->resource);
|
||||
pw_impl_device_register(impl->device, NULL);
|
||||
impl->registered = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue