mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-28 05:50:06 +01:00
scripts: make sure target is not nil when iterating filters with matching targets
This commit is contained in:
parent
f24edf67fa
commit
d0f16e4757
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ function module.get_filter_target (direction, link_group)
|
|||
not v.disabled and
|
||||
v.smart and
|
||||
((v.target == nil and filter.target == nil) or
|
||||
(v.target.id == filter.target.id)) and
|
||||
(v.target ~= nil and filter.target ~= nil and v.target.id == filter.target.id)) and
|
||||
i > index then
|
||||
return v.main_si
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue