mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
context: a node is runnable only when active
Also check if the node is active to decide if the node is runnable.
This commit is contained in:
parent
001f0656d4
commit
fd358c511d
1 changed files with 1 additions and 1 deletions
|
|
@ -1245,7 +1245,7 @@ again:
|
||||||
/* clean up the flags first */
|
/* clean up the flags first */
|
||||||
spa_list_for_each(n, &context->node_list, link) {
|
spa_list_for_each(n, &context->node_list, link) {
|
||||||
n->visited = false;
|
n->visited = false;
|
||||||
n->runnable = n->always_process;
|
n->runnable = n->always_process && n->active;
|
||||||
}
|
}
|
||||||
|
|
||||||
get_quantums(context, &def_quantum, &min_quantum, &max_quantum, &lim_quantum, &rate_quantum);
|
get_quantums(context, &def_quantum, &min_quantum, &max_quantum, &lim_quantum, &rate_quantum);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue