From f1f5cbc0a61de697b876a4aee9d0cef0577a0dd7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 23 Sep 2021 16:36:32 +0200 Subject: [PATCH] support: return completion from process HAVE_DATA|NEED_DATA signals that the graph can continue processing. OK means that the node will continue asynchronously later. This is needed to make the dummy driver work as a follower. --- spa/plugins/support/node-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/support/node-driver.c b/spa/plugins/support/node-driver.c index 0d940056f..bff566280 100644 --- a/spa/plugins/support/node-driver.c +++ b/spa/plugins/support/node-driver.c @@ -314,7 +314,7 @@ static int impl_node_process(void *object) this->next_time = SPA_TIMESPEC_TO_NSEC(&now); set_timeout(this, this->next_time); } - return SPA_STATUS_OK; + return SPA_STATUS_HAVE_DATA | SPA_STATUS_NEED_DATA; } static const struct spa_node_methods impl_node = {