From: Guillaume Pellerin Date: Mon, 8 Apr 2024 12:54:59 +0000 (+0200) Subject: try 2 zoom commands X-Git-Tag: 2.5~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b9ba038738205b3f8ff8e1daaa428415d658e555;p=telecaster-server.git try 2 zoom commands --- diff --git a/bin/streaming/tc_video_simple_webm_stream-gst1.sh b/bin/streaming/tc_video_simple_webm_stream-gst1.sh index d798254..1f77bfe 100755 --- a/bin/streaming/tc_video_simple_webm_stream-gst1.sh +++ b/bin/streaming/tc_video_simple_webm_stream-gst1.sh @@ -33,11 +33,7 @@ source /etc/telecaster/telecaster.conf # V4L2 setup v4l2-ctl -d $V4L2_ID -c power_line_frequency=1 v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM -{ - v4l2-ctl -d $V4L2_ID -c focus_absolute=1 && -} || { - v4l2-ctl -d $V4L2_ID -c focus_automatic_continuous=0 -} +v4l2-ctl -d $V4L2_ID -c focus_absolute=1 || v4l2-ctl -d $V4L2_ID -c focus_automatic_continuous=0 v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS # GST launch