mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-17 07:00:03 -05:00
impl-node: set driving state correctly
If a node becomes a driver and it had itself as the driver, it also becomes a driving node.
This commit is contained in:
parent
7c5b61295d
commit
663e6f1bf5
1 changed files with 2 additions and 0 deletions
|
|
@ -914,6 +914,8 @@ static void check_properties(struct pw_impl_node *node)
|
||||||
else
|
else
|
||||||
spa_list_remove(&node->driver_link);
|
spa_list_remove(&node->driver_link);
|
||||||
}
|
}
|
||||||
|
if (driver && node->driver_node == node)
|
||||||
|
node->driving = true;
|
||||||
recalc_reason = "driver changed";
|
recalc_reason = "driver changed";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue