aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-05 21:43:33 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-05 21:43:33 +0100
commit9c438e3e083d38777cab23d18e17c9777bf00d34 (patch)
tree7fea80e132943fa3ce269d196b4d4b945632929d
parent99f0e62869a0ce274594760c30705fe13d87dad9 (diff)
downloadmmbtools-aux-9c438e3e083d38777cab23d18e17c9777bf00d34.tar.gz
mmbtools-aux-9c438e3e083d38777cab23d18e17c9777bf00d34.tar.bz2
mmbtools-aux-9c438e3e083d38777cab23d18e17c9777bf00d34.zip
encode-alsasrc-gst-dabplus argument correction
-rwxr-xr-xencode-alsasrc-gst-dabplus.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/encode-alsasrc-gst-dabplus.sh b/encode-alsasrc-gst-dabplus.sh
index 48970b2..6945fa8 100755
--- a/encode-alsasrc-gst-dabplus.sh
+++ b/encode-alsasrc-gst-dabplus.sh
@@ -11,7 +11,7 @@ GSTREAMER_VERSION="0"
if [ "$DSTPORT" == "" ]
then
echo "Usage:"
- echo " $0 <url> <bitrate> <zmq destination port>"
+ echo " $0 <bitrate> <zmq destination>"
exit 1
fi
@@ -24,7 +24,7 @@ then
queue "max-size-time=$QUEUEDELAY" ! \
filesink location="/dev/stdout" | \
../fdk-aac-dabplus/aac-enc-dabplus-zmq \
- -i /dev/stdin -b $BITRATE -f raw -a -o "tcp://*:${DSTPORT}"
+ -i /dev/stdin -b $BITRATE -f raw -a -o "${DSTPORT}"
elif [ "$GSTREAMER_VERSION" == "0" ]
then
@@ -34,6 +34,6 @@ then
queue "max-size-time=$QUEUEDELAY" ! \
filesink location="/dev/stdout" | \
../fdk-aac-dabplus/aac-enc-dabplus-zmq \
- -i /dev/stdin -b $BITRATE -f raw -a -o "tcp://*:${DSTPORT}"
+ -i /dev/stdin -b $BITRATE -f raw -a -o "${DSTPORT}"
fi