diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-03-01 21:26:49 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-03-01 21:26:49 +0100 |
commit | 02a2ed296bbf25563f2649a8de1ecadc31106247 (patch) | |
tree | 337b053e3ba019d59ddab1fe71d16d5cc8e730a8 /example-scripts/gstreamer/source-videotestsrc-as-cam1.sh | |
parent | d7bcba998384590b890908d4e1fe0d5845d5f0c9 (diff) |
Add variable AUDIOCHANNELS.
Diffstat (limited to 'example-scripts/gstreamer/source-videotestsrc-as-cam1.sh')
-rwxr-xr-x | example-scripts/gstreamer/source-videotestsrc-as-cam1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh index e79ee91..4353285 100755 --- a/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh +++ b/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh @@ -12,7 +12,7 @@ gst-launch-1.0 \ mux. \ \ audiotestsrc freq=440 !\ - 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 !\ |