mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 07:28:41 +02:00
libcamera: improve the front/back camera descriptions
This commit is contained in:
parent
6931050b7f
commit
b44759ec3f
1 changed files with 2 additions and 2 deletions
|
|
@ -85,9 +85,9 @@ function createNode(parent, id, type, factory, properties)
|
|||
-- set the node description
|
||||
local desc = dev_props["device.description"] or "libcamera-device"
|
||||
if location == "front" then
|
||||
desc = I18n.gettext("Internal front camera")
|
||||
desc = I18n.gettext("Built-in Front Camera")
|
||||
elseif location == "back" then
|
||||
desc = I18n.gettext("Internal back camera")
|
||||
desc = I18n.gettext("Built-in Back Camera")
|
||||
end
|
||||
-- sanitize description, replace ':' with ' '
|
||||
properties["node.description"] = desc:gsub("(:)", " ")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue