From 04a2685a1d9aed399108b2dfdd20631bb6f3eb65 Mon Sep 17 00:00:00 2001 From: Dan Johansen Date: Wed, 16 Nov 2022 13:29:43 +0100 Subject: [PATCH] Use libcamera by default if it's found and supported libcamera support was recently added, so this makes applications able to use that support. This is for testing before the patch can be handed over to upstream. Signed-off-by: Dan Johansen --- .../main.lua.d/60-libcamera-nodes-by-default.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/config/main.lua.d/60-libcamera-nodes-by-default.lua diff --git a/src/config/main.lua.d/60-libcamera-nodes-by-default.lua b/src/config/main.lua.d/60-libcamera-nodes-by-default.lua new file mode 100644 index 0000000..3d91be7 --- /dev/null +++ b/src/config/main.lua.d/60-libcamera-nodes-by-default.lua @@ -0,0 +1,10 @@ + table.insert(libcamera_monitor.rules, { + matches = { + { + { "node.name", "matches", "libcamera_input.*" }, + }, + }, + apply_properties = { + ["priority.session"] = 1000, + }, +}) -- 2.38.1