From f265a361cf1312f009f153ab76594082a5aeac1b Mon Sep 17 00:00:00 2001 From: Devdatt Bhatt Date: Tue, 14 Apr 2026 23:53:36 +0000 Subject: [PATCH] .';' --- encoder/static.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/encoder/static.php b/encoder/static.php index 7e0626e..e73e373 100755 --- a/encoder/static.php +++ b/encoder/static.php @@ -711,10 +711,10 @@ function update_service($which_service) exec("sudo systemctl disable encoder-main"); } else { $input .= " "; - $control = "v4l2-ctl -d /dev/video0 --set-ctrl=brightness=" . $hdmi_brightness; - $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=contrast=" . $hdmi_contrast; - $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=saturation=" . $hdmi_saturation; - $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=hue=" . $hdmi_hue; + $control = "v4l2-ctl -d /dev/video0 --set-ctrl=brightness=" . $hdmi_brightness . ';'; + $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=contrast=" . $hdmi_contrast . ';'; + $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=saturation=" . $hdmi_saturation . ';'; + $control .= "v4l2-ctl -d /dev/video0 --set-ctrl=hue=" . $hdmi_hue . ';'; $input = $control . $input; $file = "/var/www/encoder-main.sh";