summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2024-09-04 16:27:15 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-09-06 14:11:34 +0000
commitcf57bd29b9bf9614d9fa7f7e80fc4a6cfbcde7a0 (patch)
tree6ae3bf1e1860c415c6e9c8e936d154bafad159be /recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
parent2a7b3213edf74b16fe4431ea95ebc26f09415e7b (diff)
meta-agl-demo: update audiomixer & wireplumber bbappend for 0.5 update
Bug-AGL: SPEC-4934 Change-Id: I4ca64a4c34fef3565611a4494fd87f9013d6ac7f Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30244 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf')
-rw-r--r--recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf b/recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
new file mode 100644
index 000000000..0a2a3b639
--- /dev/null
+++ b/recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
@@ -0,0 +1,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
+ }
+ }
+ }
+]