mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 05:28:01 +02:00
v4l2: append "(V4L2)" in node descriptions
This is to make it easier to work with V4L2 and libcamera simultaneously
This commit is contained in:
parent
b44759ec3f
commit
334a134471
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ function createNode(parent, id, type, factory, properties)
|
|||
|
||||
-- set the node description
|
||||
local desc = dev_props["device.description"] or "v4l2-device"
|
||||
desc = desc .. " (V4L2)"
|
||||
-- sanitize description, replace ':' with ' '
|
||||
properties["node.description"] = desc:gsub("(:)", " ")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue