.';'
This commit is contained in:
parent
7c2d0a49d2
commit
f265a361cf
|
|
@ -711,10 +711,10 @@ function update_service($which_service)
|
||||||
exec("sudo systemctl disable encoder-main");
|
exec("sudo systemctl disable encoder-main");
|
||||||
} else {
|
} else {
|
||||||
$input .= " ";
|
$input .= " ";
|
||||||
$control = "v4l2-ctl -d /dev/video0 --set-ctrl=brightness=" . $hdmi_brightness;
|
$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=contrast=" . $hdmi_contrast . ';';
|
||||||
$control .= "v4l2-ctl -d /dev/video0 --set-ctrl=saturation=" . $hdmi_saturation;
|
$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=hue=" . $hdmi_hue . ';';
|
||||||
$input = $control . $input;
|
$input = $control . $input;
|
||||||
|
|
||||||
$file = "/var/www/encoder-main.sh";
|
$file = "/var/www/encoder-main.sh";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue