Skip to content

policy-node: Remove direction check

Remove the direction check in findDefinedTarget. We already to a better direction check in canLink().

This fixes the case where a capture stream has the node.target set to a sink. The directions don't match and the capture stream is not linked to the monitor ports of the sink. Removing the check triggers the right logic in canLink() and obs studio can link to monitor ports again.

Merge request reports