mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
policy-ep: allow linking to nodes
When the target node or target endpoint is specified, try to link to it.
This commit is contained in:
parent
d67d012362
commit
59c92bddba
2 changed files with 81 additions and 51 deletions
|
|
@ -400,6 +400,8 @@ static struct endpoint *create_endpoint(struct node *node)
|
|||
if ((str = spa_dict_lookup(dict, PW_KEY_NODE_AUTOCONNECT)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_ENDPOINT_AUTOCONNECT, str);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_NODE_TARGET)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_NODE_TARGET, str);
|
||||
if ((str = spa_dict_lookup(dict, PW_KEY_ENDPOINT_TARGET)) != NULL)
|
||||
pw_properties_set(props, PW_KEY_ENDPOINT_TARGET, str);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue