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:
Wim Taymans 2023-06-20 20:45:42 +02:00
parent 001f0656d4
commit fd358c511d

View file

@ -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);