]> git.parisson.com Git - telecaster-server.git/commitdiff
back to the roots
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 31 Jan 2024 21:46:56 +0000 (22:46 +0100)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Wed, 31 Jan 2024 21:46:56 +0000 (22:46 +0100)
bin/streaming/tc_video_simple_webm_stream-gst1.sh

index 418624846162c24a81b776b988fb3608e7d98c34..50cf7a4fd444066e52d2add6a1967e5f90774f8b 100755 (executable)
@@ -6,14 +6,7 @@ set -e
 
 source /etc/telecaster/telecaster.conf
 
-# GST launch
-if [ -z "${V4L2_ID_1-}" ]; then
-       V4L2_IDS=($V4L2_ID, $V4L2_ID_1)
-else
-       V4L2_IDS=($V4L2_ID)
-fi
-
-for ID in ${V4L2_IDS[@]}; do
+ID=$1
 
 # V4L2 setup
 if [ ! -z "${V4L2_ZOOM-}" ]; then