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-09 14:37:44 +0000
commit15d8f1f9263e9c6eba2e728aac6a9485e471239b (patch)
tree7286602b6f0191928fac4e0b88799a5f10d44da2 /recipes-multimedia/wireplumber/files/30-AGL-demo-v4l2.conf
parent0f13b08e09b9fbb99e52d446504e4d2681ca437f (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> (cherry picked from commit cf57bd29b9bf9614d9fa7f7e80fc4a6cfbcde7a0) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30210
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
+ }
+ }
+ }
+]