mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
policy-node: only reconnect to given path_id
When the node is not found and we are not allowed to reconnect to something else, error.
This commit is contained in:
parent
1d3e6b6772
commit
6fa622d2d9
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ static int rescan_node(struct impl *impl, struct node *n)
|
||||||
pw_log_warn("node %d target:%d not found, find fallback:%d", n->id,
|
pw_log_warn("node %d target:%d not found, find fallback:%d", n->id,
|
||||||
path_id, reconnect);
|
path_id, reconnect);
|
||||||
}
|
}
|
||||||
if (path_id == SPA_ID_INVALID || reconnect) {
|
if (path_id == SPA_ID_INVALID && reconnect) {
|
||||||
spa_list_for_each(peer, &impl->node_list, link)
|
spa_list_for_each(peer, &impl->node_list, link)
|
||||||
find_node(&find, peer);
|
find_node(&find, peer);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue