mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
v4l2-monitor.conf Formatting/Punctuation Fixes
This commit is contained in:
parent
20e1b4f639
commit
5e2130f6f7
1 changed files with 8 additions and 7 deletions
|
|
@ -1,21 +1,22 @@
|
||||||
# v4l2-monitor config file
|
# V4L2 monitor config file #
|
||||||
|
|
||||||
properties = {
|
properties = {
|
||||||
}
|
}
|
||||||
|
|
||||||
rules = [
|
rules = [
|
||||||
# an array of matches/actions to evaluate
|
# An array of matches/actions to evaluate.
|
||||||
{
|
{
|
||||||
# rules for matching a device or node. It is an array of
|
# Rules for matching a device or node. It is an array of
|
||||||
# properties that all need to match the regexp. If any of the
|
# properties that all need to match the regexp. If any of the
|
||||||
# matches work, the actions are executed for the object.
|
# matches work, the actions are executed for the object.
|
||||||
matches = [
|
matches = [
|
||||||
{
|
{
|
||||||
# this matches all devices
|
# This matches all devices.
|
||||||
device.name = "~v4l2_device.*"
|
device.name = "~v4l2_device.*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
actions = {
|
actions = {
|
||||||
# actions can update properties on the matched object.
|
# Actions can update properties on the matched object.
|
||||||
update-props = {
|
update-props = {
|
||||||
#device.nick = "My Device"
|
#device.nick = "My Device"
|
||||||
}
|
}
|
||||||
|
|
@ -24,11 +25,11 @@ rules = [
|
||||||
{
|
{
|
||||||
matches = [
|
matches = [
|
||||||
{
|
{
|
||||||
# matches all sinks
|
# Matches all sinks.
|
||||||
node.name = "~v4l2_input.*"
|
node.name = "~v4l2_input.*"
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
# matches all sources
|
# Matches all sources.
|
||||||
node.name = "~v4l2_output.*"
|
node.name = "~v4l2_output.*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue