From 0e386b6584e17823175eca2ef1ec0c7b93eff976 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 Aug 2021 10:50:07 +0200 Subject: [PATCH] context: also set driver on inactive nodes that want one Also set the driver on an inactive node when it wants a driver. Fixes the case where xjadeo does not activate itself but still wants to poll the transport state of the driver. See #1491 --- src/pipewire/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/context.c b/src/pipewire/context.c index fee91787a..0a52d5fc1 100644 --- a/src/pipewire/context.c +++ b/src/pipewire/context.c @@ -1170,7 +1170,7 @@ again: pw_log_debug(NAME" %p: unassigned node %p: '%s' active:%d want_driver:%d target:%p", context, n, n->name, n->active, n->want_driver, target); - t = (n->active && n->want_driver) ? target : NULL; + t = n->want_driver ? target : NULL; pw_impl_node_set_driver(n, t); if (t == NULL)