mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
node: recalc quantum of the driver when a node is destroyed
This commit is contained in:
parent
3e359646d7
commit
45c00ebb54
1 changed files with 2 additions and 0 deletions
|
|
@ -1074,6 +1074,8 @@ void pw_node_destroy(struct pw_node *node)
|
|||
/* remove ourself from the (other) driver node */
|
||||
spa_list_remove(&node->driver_link);
|
||||
|
||||
recalc_quantum(node->driver_node);
|
||||
|
||||
/* move all nodes driven by us to their own driver */
|
||||
spa_list_consume(n, &node->driver_list, driver_link)
|
||||
pw_node_set_driver(n, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue