client-stream: only add link once

This commit is contained in:
Wim Taymans 2019-03-14 12:28:01 +01:00
parent 24117b33c7
commit 132dd760ee
2 changed files with 6 additions and 3 deletions

View file

@ -181,6 +181,9 @@ static void try_link_controls(struct impl *impl)
if (!impl->use_converter)
return;
if (impl->control.valid || impl->notify.valid)
return;
target = pw_node_find_port(impl->this.node, impl->direction, 0);
if (target == NULL) {