From 64235419a627834762a3a17f2ad7dbf163b4f2d6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 1 May 2023 09:19:19 +0200 Subject: [PATCH] impl-node: handle ready callback correctly Only stop processing the ready callback if we are a driver and not currently driving the graph. Streams that use trigger will also emit the ready callback and are not driving the graph (but also are not a driver) and should therefore be allowed to continue to resume_node to schedule the peer nodes. See #3184 --- src/pipewire/impl-node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/impl-node.c b/src/pipewire/impl-node.c index 6150867b0..548d37512 100644 --- a/src/pipewire/impl-node.c +++ b/src/pipewire/impl-node.c @@ -1772,7 +1772,7 @@ again: pw_context_driver_emit_start(node->context, node); } - if (SPA_UNLIKELY(!node->driving)) + if (SPA_UNLIKELY(node->driver && !node->driving)) return 0; if (status & SPA_STATUS_HAVE_DATA) {