mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
media-session: use direction to find the node by name
Also use the stream direction when finding a node by name. We should only select nodes that have the right direction.
This commit is contained in:
parent
d37ea7851a
commit
b0068fd46b
2 changed files with 6 additions and 4 deletions
|
|
@ -1861,7 +1861,7 @@ static int link_nodes(struct impl *impl, struct endpoint_link *link,
|
|||
|
||||
inport = find_input_port(impl, outnode, outport, innode);
|
||||
if (inport == NULL) {
|
||||
pw_log_debug(NAME" %p: port %d:%d can't be linked", impl,
|
||||
pw_log_debug(NAME" %p: port %d:%d can't be linked, no input port", impl,
|
||||
outport->direction, outport->obj.id);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue