mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 15:58:01 +02:00
linking: get-filter-from-target.lua: bypass for media role targets
This commit is contained in:
parent
4dd831424a
commit
375094151d
1 changed files with 2 additions and 2 deletions
|
|
@ -23,8 +23,8 @@ SimpleEventHook {
|
|||
local source, om, si, si_props, si_flags, target =
|
||||
lutils:unwrap_select_target_event (event)
|
||||
|
||||
-- bypass the hook if the target was not found
|
||||
if target == nil then
|
||||
-- bypass the hook if the target was not found or if the target is media role node
|
||||
if target == nil or target.properties["device.intended-roles"] then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue