From d3d7b7e39f876845871adb4218274f3f5641faf9 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 11 Mar 2019 16:43:43 +0100 Subject: [PATCH] client-node: ignore io on the node itself We only handle the io on the mixer ports, the internal io from the port to the node is done on the client side. --- src/modules/module-client-node/client-node.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/modules/module-client-node/client-node.c b/src/modules/module-client-node/client-node.c index 72c570014..3b2973802 100644 --- a/src/modules/module-client-node/client-node.c +++ b/src/modules/module-client-node/client-node.c @@ -792,13 +792,10 @@ impl_node_port_set_io(struct spa_node *node, uint32_t id, void *data, size_t size) { - struct node *this; - struct impl *impl; - - this = SPA_CONTAINER_OF(node, struct node, node); - impl = this->impl; - - return do_port_set_io(impl, direction, port_id, SPA_ID_INVALID, id, data, size); + /* ignore io on the node itself, weonly care about the io on the + * port mixers, the io on the node ports itself is handled on the + * client side */ + return 0; } static int