Skip to content

find-defined-target: use target from node properties if metadata is -1

Julian Bouzas requested to merge julian/wireplumber:fix-defined-target into master

Currently, if the target.node key from metadata is set to -1, and the associated stream node has a valid target.node property set, the findDefinedTarget() function returns nil, which is wrong. This patch fixes this function to instead return the defined target from the stream node properties.

Merge request reports