summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xScript/launch_video.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Script/launch_video.sh b/Script/launch_video.sh
index 43d54fd..5d1ebb5 100755
--- a/Script/launch_video.sh
+++ b/Script/launch_video.sh
@@ -12,7 +12,7 @@ alreadyrunning=`cat $HOME/gstvid-pid`
#URL=http://intel07.vannes/~sdx/Videos/caminandes_480p.avi
URL=file:///usr/share/media/videos/AmazingNature_480p.mp4
-if [ $(echo $alreadyrunning | wc -w) -lt 8 ] ; then
+if [ $(echo $alreadyrunning | wc -w) -lt 3 ] ; then
echo "create new"
gst-launch-1.0 playbin uri=$URL &
echo $! >> $HOME/gstvid-pid