monitors/libcamera: s/libcam/libcamera/g

This commit is contained in:
George Kiagiadakis
2023-11-14 17:33:59 +02:00
parent 9cf372b8ab
commit 2f226aca75
5 changed files with 14 additions and 14 deletions

View File

@@ -8,7 +8,7 @@
cutils = require ("common-utils") cutils = require ("common-utils")
mutils = require ("monitor-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) function createLibcamNode (parent, id, type, factory, properties)
local registered = mutils:register_cam_node (parent, id, factory, properties) local registered = mutils:register_cam_node (parent, id, factory, properties)
@@ -25,11 +25,11 @@ function createLibcamNode (parent, id, type, factory, properties)
end end
SimpleEventHook { SimpleEventHook {
name = "monitor/libcam/create-device", name = "monitor/libcamera/create-device",
after = "monitor/libcam/name-device", after = "monitor/libcamera/name-device",
interests = { interests = {
EventInterest { EventInterest {
Constraint { "event.type", "=", "create-libcam-device" }, Constraint { "event.type", "=", "create-libcamera-device" },
}, },
}, },
execute = function(event) execute = function(event)

View File

@@ -8,11 +8,11 @@
cutils = require ("common-utils") cutils = require ("common-utils")
mutils = require ("monitor-utils") mutils = require ("monitor-utils")
log = Log.open_topic ("s-monitors-libcam") log = Log.open_topic ("s-monitors-libcamera")
SimpleEventHook { SimpleEventHook {
name = "monitor/libcam/create-node", name = "monitor/libcamera/create-node",
after = "monitor/libcam/name-node", after = "monitor/libcamera/name-node",
interests = { interests = {
EventInterest { EventInterest {
Constraint { "event.type", "=", "create-libcamera-device-node" }, Constraint { "event.type", "=", "create-libcamera-device-node" },

View File

@@ -5,7 +5,7 @@
-- --
-- SPDX-License-Identifier: MIT -- SPDX-License-Identifier: MIT
log = Log.open_topic ("s-monitors-libcam") log = Log.open_topic ("s-monitors-libcamera")
defaults = {} defaults = {}
defaults.properties = Json.Object {} defaults.properties = Json.Object {}
@@ -17,7 +17,7 @@ config.properties = Conf.get_section (
function createCamDevice (parent, id, type, factory, properties) function createCamDevice (parent, id, type, factory, properties)
source = source or Plugin.find ("standard-event-source") 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 ("device-properties", properties)
e:set_data ("factory", factory) e:set_data ("factory", factory)
e:set_data ("device-sub-id", id) e:set_data ("device-sub-id", id)

View File

@@ -7,13 +7,13 @@
mutils = require ("monitor-utils") mutils = require ("monitor-utils")
log = Log.open_topic ("s-monitors-libcam") log = Log.open_topic ("s-monitors-libcamera")
SimpleEventHook { SimpleEventHook {
name = "monitor/libcam/name-device", name = "monitor/libcamera/name-device",
interests = { interests = {
EventInterest { EventInterest {
Constraint { "event.type", "=", "create-libcam-device" }, Constraint { "event.type", "=", "create-libcamera-device" },
}, },
}, },
execute = function(event) execute = function(event)

View File

@@ -7,10 +7,10 @@
mutils = require ("monitor-utils") mutils = require ("monitor-utils")
log = Log.open_topic ("s-monitors-libcam") log = Log.open_topic ("s-monitors-libcamera")
SimpleEventHook { SimpleEventHook {
name = "monitor/libcam/name-node", name = "monitor/libcamera/name-node",
interests = { interests = {
EventInterest { EventInterest {
Constraint { "event.type", "=", "create-libcamera-device-node" }, Constraint { "event.type", "=", "create-libcamera-device-node" },