v4l2-monitor.conf Formatting/Punctuation Fixes

This commit is contained in:
jasker5183 2021-02-08 18:28:47 +00:00 committed by Wim Taymans
parent 20e1b4f639
commit 5e2130f6f7

View file

@ -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.*"
} }
] ]