mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
media-session: (re)schedule rescan after new pending operation
Every time a new operation is started, schedule a rescan. This ensures that there are no more pending actions before the policy module scans the nodes. This has the effect that all devices and nodes are up to data and ready to be used by policy-node. Fixes #789
This commit is contained in:
parent
59f86df9f3
commit
d603c1086a
3 changed files with 6 additions and 0 deletions
|
|
@ -960,6 +960,7 @@ static void alsa_udev_object_info(void *data, uint32_t id,
|
|||
} else {
|
||||
alsa_update_device(impl, device, info);
|
||||
}
|
||||
sm_media_session_schedule_rescan(impl->session);
|
||||
}
|
||||
|
||||
static const struct spa_device_events alsa_udev_events =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue