Commit 51c700a6 authored by Wim Taymans's avatar Wim Taymans
Browse files

media-session: only save routes with the save flag set

We only want to save the route properties when they were changed
by a user action.
parent f78be585
Pipeline #291975 passed with stages
in 15 minutes and 48 seconds
......@@ -736,7 +736,7 @@ static int handle_route(struct device *dev, struct route *r)
* save this as a prefered port */
pw_log_info("device %d: new active port found '%s'", dev->id, r->name);
restore_route(dev, r);
} else if (r->props) {
} else if (r->props && r->save) {
/* just save port properties */
save_route(dev, r);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment