diff options
Diffstat (limited to 'encode-url-gst-dabplus.sh')
-rwxr-xr-x | encode-url-gst-dabplus.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/encode-url-gst-dabplus.sh b/encode-url-gst-dabplus.sh index bbe3d59..da16851 100755 --- a/encode-url-gst-dabplus.sh +++ b/encode-url-gst-dabplus.sh @@ -12,7 +12,7 @@ GSTREAMER_VERSION="1" if [ "$DSTPORT" == "" ] then echo "Usage:" - echo " $0 <url> <bitrate> <zmq destination port>" + echo " $0 <url> <bitrate> <zmq destination>" exit 1 fi @@ -27,7 +27,7 @@ then audio/x-raw, 'rate=48000,format=S16LE,channels=2' ! \ 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 @@ -39,6 +39,6 @@ then audio/x-raw-int, 'rate=48000,format=S16LE,channels=2' ! \ 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 |