mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 07:48:01 +02:00
monitors/libcamera: s/libcam/libcamera/g
This commit is contained in:
parent
9cf372b8ab
commit
2f226aca75
5 changed files with 14 additions and 14 deletions
|
|
@ -8,7 +8,7 @@
|
|||
cutils = require ("common-utils")
|
||||
mutils = require ("monitor-utils")
|
||||
|
||||
log = Log.open_topic ("s-monitors-libcam")
|
||||
log = Log.open_topic ("s-monitors-libcamera")
|
||||
|
||||
function createLibcamNode (parent, id, type, factory, properties)
|
||||
local registered = mutils:register_cam_node (parent, id, factory, properties)
|
||||
|
|
@ -25,11 +25,11 @@ function createLibcamNode (parent, id, type, factory, properties)
|
|||
end
|
||||
|
||||
SimpleEventHook {
|
||||
name = "monitor/libcam/create-device",
|
||||
after = "monitor/libcam/name-device",
|
||||
name = "monitor/libcamera/create-device",
|
||||
after = "monitor/libcamera/name-device",
|
||||
interests = {
|
||||
EventInterest {
|
||||
Constraint { "event.type", "=", "create-libcam-device" },
|
||||
Constraint { "event.type", "=", "create-libcamera-device" },
|
||||
},
|
||||
},
|
||||
execute = function(event)
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
cutils = require ("common-utils")
|
||||
mutils = require ("monitor-utils")
|
||||
|
||||
log = Log.open_topic ("s-monitors-libcam")
|
||||
log = Log.open_topic ("s-monitors-libcamera")
|
||||
|
||||
SimpleEventHook {
|
||||
name = "monitor/libcam/create-node",
|
||||
after = "monitor/libcam/name-node",
|
||||
name = "monitor/libcamera/create-node",
|
||||
after = "monitor/libcamera/name-node",
|
||||
interests = {
|
||||
EventInterest {
|
||||
Constraint { "event.type", "=", "create-libcamera-device-node" },
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
--
|
||||
-- SPDX-License-Identifier: MIT
|
||||
|
||||
log = Log.open_topic ("s-monitors-libcam")
|
||||
log = Log.open_topic ("s-monitors-libcamera")
|
||||
|
||||
defaults = {}
|
||||
defaults.properties = Json.Object {}
|
||||
|
|
@ -17,7 +17,7 @@ config.properties = Conf.get_section (
|
|||
function createCamDevice (parent, id, type, factory, properties)
|
||||
source = source or Plugin.find ("standard-event-source")
|
||||
|
||||
local e = source:call ("create-event", "create-libcam-device", parent, nil)
|
||||
local e = source:call ("create-event", "create-libcamera-device", parent, nil)
|
||||
e:set_data ("device-properties", properties)
|
||||
e:set_data ("factory", factory)
|
||||
e:set_data ("device-sub-id", id)
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
mutils = require ("monitor-utils")
|
||||
|
||||
log = Log.open_topic ("s-monitors-libcam")
|
||||
log = Log.open_topic ("s-monitors-libcamera")
|
||||
|
||||
SimpleEventHook {
|
||||
name = "monitor/libcam/name-device",
|
||||
name = "monitor/libcamera/name-device",
|
||||
interests = {
|
||||
EventInterest {
|
||||
Constraint { "event.type", "=", "create-libcam-device" },
|
||||
Constraint { "event.type", "=", "create-libcamera-device" },
|
||||
},
|
||||
},
|
||||
execute = function(event)
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
mutils = require ("monitor-utils")
|
||||
|
||||
log = Log.open_topic ("s-monitors-libcam")
|
||||
log = Log.open_topic ("s-monitors-libcamera")
|
||||
|
||||
SimpleEventHook {
|
||||
name = "monitor/libcam/name-node",
|
||||
name = "monitor/libcamera/name-node",
|
||||
interests = {
|
||||
EventInterest {
|
||||
Constraint { "event.type", "=", "create-libcamera-device-node" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue