Use consistent variable names.

This commit is contained in:
Antti Seppälä 2007-11-22 17:36:00 +00:00
parent b5744903cd
commit 3daea8b1ba
1 changed files with 2 additions and 2 deletions

View File

@ -45,10 +45,10 @@ let SPID=${PARAMETER}+3
# Capture program pid for further management in IPTV plugin
vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=${VBITRATE},ab=${ABITRATE}}:standard{access=udp,mux=ts{pid-video=${VPID},pid-audio=${APID},pid-spu=${SPID}},dst=127.0.0.1:${PORT}}" --intf dummy &
PID=$!
PID=${!}
trap 'kill -INT ${PID} 2> /dev/null' INT EXIT QUIT TERM
# Waiting for the given PID to terminate
wait $PID
wait ${PID}