aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-01 21:26:49 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-01 21:26:49 +0100
commit02a2ed296bbf25563f2649a8de1ecadc31106247 (patch)
tree337b053e3ba019d59ddab1fe71d16d5cc8e730a8 /example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
parentd7bcba998384590b890908d4e1fe0d5845d5f0c9 (diff)
Add variable AUDIOCHANNELS.
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-cam2.sh')
-rwxr-xr-xexample-scripts/gstreamer/source-videotestsrc-as-cam2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
index 8380680..3ce006a 100755
--- a/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
+++ b/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
@@ -12,7 +12,7 @@ gst-launch-1.0 \
mux. \
\
audiotestsrc freq=550 !\
- audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=$AUDIORATE !\
+ audio/x-raw,format=S16LE,channels=$AUDIOCHANNELS,layout=interleaved,rate=$AUDIORATE !\
mux. \
\
matroskamux name=mux !\