mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
context: Also add driver to always_process inactive nodes
Commit 90b11e3c49 removed inactive
node from the fallback driver, even if it was always_process.
This should not happen, always_process nodes should stay on a driver in
all cases.
JACK nodes are marked like this and need to stay on the driver even when
inactive or else they don't have a transport when inactive.
Fixes #3189
This commit is contained in:
parent
67df9d2251
commit
171e2a99ba
1 changed files with 2 additions and 1 deletions
|
|
@ -1268,7 +1268,8 @@ again:
|
||||||
driver = NULL;
|
driver = NULL;
|
||||||
spa_list_for_each(t, &collect, sort_link) {
|
spa_list_for_each(t, &collect, sort_link) {
|
||||||
/* is any active and want a driver */
|
/* is any active and want a driver */
|
||||||
if (t->want_driver && t->active && t->runnable) {
|
if ((t->want_driver && t->active && t->runnable) ||
|
||||||
|
t->always_process) {
|
||||||
driver = target;
|
driver = target;
|
||||||
driver->runnable = true;
|
driver->runnable = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue