mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
context: fix link property
This commit is contained in:
parent
7d5e860d0c
commit
af61dcebbf
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ static int set_mask(pa_context *c, struct global *g)
|
||||||
if ((str = pw_properties_get(g->props, PW_KEY_LINK_OUTPUT_PORT)) == NULL)
|
if ((str = pw_properties_get(g->props, PW_KEY_LINK_OUTPUT_PORT)) == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
g->link_info.src = pa_context_find_global(c, pw_properties_parse_int(str));
|
g->link_info.src = pa_context_find_global(c, pw_properties_parse_int(str));
|
||||||
if ((str = pw_properties_get(g->props, PW_KEY_LINK_OUTPUT_PORT)) == NULL)
|
if ((str = pw_properties_get(g->props, PW_KEY_LINK_INPUT_PORT)) == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
g->link_info.dst = pa_context_find_global(c, pw_properties_parse_int(str));
|
g->link_info.dst = pa_context_find_global(c, pw_properties_parse_int(str));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue