From 1f67e6db6b7b16ccbcc7ccd94e366b3b83511933 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 25 Nov 2022 13:27:50 -0500 Subject: [PATCH] Initialize controls correctly Initialize controls correctly as "controls::controls" This is necessary to stop the IPA process from aborting if it is running in "isolation" mode. --- .../plugins/input_libcamera/input_libcamera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp b/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp index cdf429b1..a5fd1b08 100644 --- a/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp +++ b/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp @@ -124,7 +124,7 @@ int input_init(input_parameter *param, int plugin_no) context *pctx; context_settings *settings; int ret; - ControlList controls_; + ControlList controls_(controls::controls); int64_t frame_time; bool controls_flag = false;