From: Guillaume Pellerin Date: Wed, 31 Jan 2024 21:27:22 +0000 (+0100) Subject: fix var X-Git-Tag: 3.0~35 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5fbdcd8d19a7ac4ab92db877057880b133c3d51f;p=telecaster-server.git fix var --- diff --git a/bin/streaming/tc_video_simple_webm_stream-gst1.sh b/bin/streaming/tc_video_simple_webm_stream-gst1.sh index 0734a6e..4186248 100755 --- a/bin/streaming/tc_video_simple_webm_stream-gst1.sh +++ b/bin/streaming/tc_video_simple_webm_stream-gst1.sh @@ -8,9 +8,9 @@ source /etc/telecaster/telecaster.conf # GST launch if [ -z "${V4L2_ID_1-}" ]; then - V4L2_IDS=(V4L2_ID, $V4L2_ID_1) + V4L2_IDS=($V4L2_ID, $V4L2_ID_1) else - V4L2_IDS=(V4L2_ID) + V4L2_IDS=($V4L2_ID) fi for ID in ${V4L2_IDS[@]}; do