mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-11 13:30:07 -05:00
media-session: schedule more rescan for pending changes
Trigger/delay a rescan until the profiles, routes and stream volume are restored. See #789
This commit is contained in:
parent
d603c1086a
commit
1b6060ef5f
3 changed files with 8 additions and 0 deletions
|
|
@ -245,6 +245,8 @@ static int set_profile(struct device *dev, struct profile *pr)
|
|||
|
||||
dev->active_profile = pr->index;
|
||||
|
||||
sm_media_session_schedule_rescan(dev->impl->session);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue