mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
bluez5: fix source priority assignment
This commit is contained in:
parent
a14d6d15b3
commit
dfb3bff15b
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static struct node *bluez5_create_node(struct device *device, uint32_t id,
|
|||
if (pw_properties_get(node->props, PW_KEY_PRIORITY_DRIVER) == NULL) {
|
||||
priority = device->priority + 10;
|
||||
|
||||
if (strcmp(prefix, "bluez_output") == 0)
|
||||
if (strstr(info->factory_name, "source") != NULL)
|
||||
priority += 1000;
|
||||
|
||||
pw_properties_setf(node->props, PW_KEY_PRIORITY_DRIVER, "%d", priority);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue