mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 14:48:02 +02:00
monitors/libcamera: fix deduplicating devices with the same name
This commit is contained in:
parent
e51e1b6080
commit
9f440d0b50
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ SimpleEventHook {
|
|||
|
||||
-- deduplicate devices with the same name
|
||||
for counter = 2, 99, 1 do
|
||||
if mutils.find_duplicate (parent, id, "device.name", properties["node.name"]) then
|
||||
if mutils.find_duplicate (parent, id, "device.name", properties["device.name"]) then
|
||||
properties["device.name"] = name .. "." .. counter
|
||||
else
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue