mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-03 21:58:08 +02:00
l/rescan: use parseBool() to interpret boolean property
The previous check was also working, but this is safer
This commit is contained in:
parent
9436dc7afe
commit
54d0f6fc7b
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ function unhandleLinkable (si, om)
|
|||
out_flags.peer_id = nil
|
||||
end
|
||||
|
||||
if silink.properties["is.media.role.link"] == "1" then
|
||||
if cutils.parseBool (silink.properties["is.media.role.link"]) then
|
||||
lutils.clearPriorityMediaRoleLink(silink)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue