mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-20 05:20:05 +01:00
filter-utils: Allow smart filters to have as target filters that are not smart
Filters that are not smart should be treated as regular client/device nodes, therfore, smart filters should be able to use them as a target.
This commit is contained in:
parent
78dd8b1d8f
commit
fa67121665
1 changed files with 3 additions and 2 deletions
|
|
@ -135,8 +135,9 @@ local function getFilterSmartTarget (metadata, node, om)
|
|||
goto skip_target
|
||||
end
|
||||
|
||||
-- Target nodes are only meant to be device nodes, without link-group
|
||||
if n_target.properties ["node.link-group"] ~= nil then
|
||||
-- Target nodes cannot be smart filters
|
||||
if n_target.properties ["node.link-group"] ~= nil and
|
||||
getFilterSmart (metadata, n_target) then
|
||||
goto skip_target
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue