mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 14:48:02 +02:00
scripts: pass is_filter to createLink
createLink uses an is_link variable that is unset. Fix this by passing the is_link from the caller.
This commit is contained in:
parent
e9fc965b32
commit
a063d48281
1 changed files with 2 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ function findUndefinedTarget (si_ep)
|
|||
return si_target
|
||||
end
|
||||
|
||||
function createLink (si_ep, si_target)
|
||||
function createLink (si_ep, si_target, is_filter)
|
||||
local out_item = nil
|
||||
local in_item = nil
|
||||
local ep_props = si_ep.properties
|
||||
|
|
@ -213,7 +213,7 @@ function handleLinkable (si)
|
|||
end
|
||||
|
||||
-- create new link
|
||||
createLink (si, si_target)
|
||||
createLink (si, si_target, is_filter)
|
||||
end
|
||||
|
||||
function unhandleLinkable (si)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue