mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
policy-node: always boost default node priority
Make sure the default node as the highest priority. Fixes a problem with default nodes not being selected when their priority happens to be too low (bluetooth devices)
This commit is contained in:
parent
688041b083
commit
8ee07c3c66
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ static int find_node(void *data, struct node *node)
|
|||
is_default = impl->default_video_source == node->id;
|
||||
}
|
||||
if (is_default)
|
||||
priority += 1000;
|
||||
priority += 10000;
|
||||
}
|
||||
|
||||
if ((find->exclusive && node->obj->info->state == PW_NODE_STATE_RUNNING) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue