aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh')
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-background-loop.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
index b889517..3a43ec3 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+
confdir="`dirname "$0"`/../"
. $confdir/default-config.sh
if [ -f $confdir/config.sh ]; then
@@ -11,4 +12,4 @@ gst-launch-1.0 \
mux. \
\
matroskamux name=mux !\
- tcpclientsink host=localhost port=16000
+ tcpclientsink host=$MIXHOST port=16000