aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
blob: 0a2a3b639285d3bf25e0d40dc8e6f468899a2b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# meta-agl-demo WirePlumber V4L2 monitor configuration

monitor.v4l2.rules = [
  #
  # Bump the priority of any USB camera
  # Higher priority means it gets selected as the default if it's present
  # This makes camera-gstreamer work out of the box in demos with a USB camera
  #
  {
    matches = [
      {
        node.name = "~v4l2_input.*usb.*"
      }
    ]
    actions = {
      update-props = {
        priority.driver        = 1300
        priority.session       = 1300
      }
    }
  }
]