remote-node: improve node io tag

Set the second tag field to INVALID to separate the node io areas from
the port io areas.
This commit is contained in:
Wim Taymans 2021-09-15 15:50:39 +02:00
parent f6f10669a0
commit 21657ea2af

View file

@ -433,7 +433,7 @@ client_node_set_io(void *object,
struct pw_proxy *proxy = (struct pw_proxy*)data->client_node; struct pw_proxy *proxy = (struct pw_proxy*)data->client_node;
struct pw_memmap *old, *mm; struct pw_memmap *old, *mm;
void *ptr; void *ptr;
uint32_t tag[5] = { data->remote_id, id, }; uint32_t tag[5] = { data->remote_id, SPA_ID_INVALID, id, };
int res; int res;
old = pw_mempool_find_tag(data->pool, tag, sizeof(tag)); old = pw_mempool_find_tag(data->pool, tag, sizeof(tag));