Exec doesn't need that much escaping. The url should be however wrapped

in quotation marks because it may contain spaces.
This commit is contained in:
Antti Seppälä 2007-10-18 20:18:33 +00:00
parent 90abed4598
commit 5b91ea05eb
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ if [ $# -ne 1 ]; then
exit 1;
fi
exec vlc ${URL} --sout \"#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}\" --intf dummy
exec vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}" --intf dummy