Revert "media-session: use direction to find the node by name"

This reverts commit b0068fd46b.

It breaks recording from monitor ports.
This commit is contained in:
Wim Taymans 2021-06-03 20:31:49 +02:00
parent 669fbf10c1
commit 0ba9402d4b
2 changed files with 4 additions and 6 deletions

View file

@ -1854,7 +1854,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, no input port", impl,
pw_log_debug(NAME" %p: port %d:%d can't be linked", impl,
outport->direction, outport->obj.id);
continue;
}