mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-02-06 00:10:28 +01:00
scripts/linking/rescan.lua: fix log access
The log object should be used with : in order to make sure that the log handler has the correct topic in context.
This commit is contained in:
parent
5581a9c2b7
commit
c6e3dbf887
1 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ function unhandleLinkable (si, om)
|
|||
return
|
||||
end
|
||||
|
||||
log.info (si, string.format ("unhandling item %d", si_id))
|
||||
log:info (si, string.format ("unhandling item %d", si_id))
|
||||
|
||||
-- iterate over all the links in the graph and
|
||||
-- remove any links associated with this item
|
||||
|
|
@ -89,7 +89,7 @@ function unhandleLinkable (si, om)
|
|||
end
|
||||
|
||||
silink:remove ()
|
||||
log.info (silink, "... link removed")
|
||||
log:info (silink, "... link removed")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -125,7 +125,7 @@ function handleLinkables (source)
|
|||
-- check if we need to link this node at all
|
||||
local autoconnect = cutils.parseBool (si_props ["node.autoconnect"])
|
||||
if not autoconnect then
|
||||
log.debug (si, tostring (si_props ["node.name"]) .. " does not need to be autoconnected")
|
||||
log:debug (si, tostring (si_props ["node.name"]) .. " does not need to be autoconnected")
|
||||
goto skip_linkable
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue