stream: handle endpoint-target for streams

This commit is contained in:
Wim Taymans 2019-11-15 13:34:16 +01:00
parent 7bce1762de
commit 4ccbce9932
5 changed files with 27 additions and 20 deletions

View file

@ -456,7 +456,7 @@ static int rescan_endpoint(struct impl *impl, struct endpoint *ep)
return -EINVAL;
}
str = spa_dict_lookup(props, PW_KEY_NODE_TARGET);
str = spa_dict_lookup(props, PW_KEY_ENDPOINT_TARGET);
if (str != NULL)
find.path_id = atoi(str);
else