mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 07:48:01 +02:00
wireplumber.conf: add new v4l2 monitor hooks
This commit is contained in:
parent
f45d7b43f3
commit
92de80eb2e
1 changed files with 49 additions and 3 deletions
|
|
@ -241,11 +241,57 @@ wireplumber.components = [
|
|||
requires = [ support.lua-scripting ]
|
||||
wants = [ api.file-monitor ]
|
||||
}
|
||||
## v4l2 monitor hooks
|
||||
{
|
||||
name = monitors/v4l2.lua, type = script/lua
|
||||
provides = monitor.v4l2
|
||||
requires = [ support.lua-scripting, support.export-core ]
|
||||
name = monitors/v4l2/name-device.lua, type = script/lua
|
||||
provides = hooks.monitor.v4l2-name-device
|
||||
requires = [ support.lua-scripting,
|
||||
support.export-core,
|
||||
support.standard-event-source ]
|
||||
}
|
||||
{
|
||||
name = monitors/v4l2/create-device.lua, type = script/lua
|
||||
provides = hooks.monitor.v4l2-create-device
|
||||
requires = [ support.lua-scripting,
|
||||
support.export-core,
|
||||
support.standard-event-source ]
|
||||
}
|
||||
{
|
||||
name = monitors/v4l2/name-node.lua, type = script/lua
|
||||
provides = hooks.monitor.v4l2-name-node
|
||||
requires = [ support.lua-scripting,
|
||||
support.export-core,
|
||||
support.standard-event-source ]
|
||||
}
|
||||
{
|
||||
name = monitors/v4l2/create-node.lua, type = script/lua
|
||||
provides = hooks.monitor.v4l2-create-node
|
||||
requires = [ support.lua-scripting,
|
||||
support.export-core,
|
||||
support.standard-event-source ]
|
||||
}
|
||||
{
|
||||
type = virtual, provides = monitor.v4l2.hooks
|
||||
wants = [ hooks.monitor.v4l2-name-device,
|
||||
hooks.monitor.v4l2-create-device,
|
||||
hooks.monitor.v4l2-name-node,
|
||||
hooks.monitor.v4l2-create-node ]
|
||||
}
|
||||
# enumerate-device.lua needs rest of the monitor hooks to be loaded first.
|
||||
{
|
||||
name = monitors/v4l2/enumerate-device.lua, type = script/lua
|
||||
provides = hooks.monitor.v4l2-enumerate-device
|
||||
requires = [ support.lua-scripting,
|
||||
support.export-core,
|
||||
support.standard-event-source,
|
||||
monitor.v4l2.hooks ]
|
||||
}
|
||||
{
|
||||
type = virtual, provides = monitor.v4l2
|
||||
wants = [ hooks.monitor.v4l2-enumerate-device,
|
||||
monitor.v4l2.hooks ]
|
||||
}
|
||||
|
||||
## libcamera monitor hooks
|
||||
{
|
||||
name = monitors/libcamera/name-device.lua, type = script/lua
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue