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:
Wim Taymans 2021-03-08 15:14:40 +01:00
parent d603c1086a
commit 1b6060ef5f
3 changed files with 8 additions and 0 deletions

View file

@ -363,6 +363,9 @@ static int restore_stream(struct stream *str, const char *val)
pw_node_set_param((struct pw_node*)str->obj->obj.proxy,
SPA_PARAM_Props, 0, param);
sm_media_session_schedule_rescan(str->impl->session);
return 0;
}