diff options
author | Wim Taymans <wtaymans@redhat.com> | 2019-03-11 16:43:43 +0100 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2019-03-11 16:43:43 +0100 |
commit | d3d7b7e39f876845871adb4218274f3f5641faf9 (patch) | |
tree | 561b14f0c2e8045115816afca2f1f44c90289951 /src | |
parent | 61ad5ee518ddde493249014323ce97bdde97b7d1 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-client-node/client-node.c | 11 |
1 files 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 72c57001..3b297380 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 |