mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-18 02:20:29 +01:00
autoswitch-bluetooth-profile: Fix attempt to index a number value error
The getLinkedBluetoothLoopbackSourceNodeForStream() function expects stream to be and object and not a stream ID.
This commit is contained in:
parent
b60b2f4ece
commit
f088a6f63d
1 changed files with 1 additions and 2 deletions
|
|
@ -314,8 +314,7 @@ function getLinkedBluetoothLoopbackSourceNodeForStream (stream, node_om, link_om
|
|||
Constraint { "bluez5.loopback", "!", "true", type = "pw" },
|
||||
Constraint { "node.link-group", "=", filter_link_group, type = "pw" }
|
||||
} do
|
||||
local filter_stream_id = filter_stream_node["bound-id"]
|
||||
local bt_node = getLinkedBluetoothLoopbackSourceNodeForStream (filter_stream_id, node_om, link_om, visited_link_groups)
|
||||
local bt_node = getLinkedBluetoothLoopbackSourceNodeForStream (filter_stream_node, node_om, link_om, visited_link_groups)
|
||||
if bt_node ~= nil then
|
||||
return bt_node
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue