summaryrefslogtreecommitdiff
path: root/example-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'example-scripts')
-rwxr-xr-xexample-scripts/gstreamer/ingest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/example-scripts/gstreamer/ingest.py b/example-scripts/gstreamer/ingest.py
index 14ce043..a9e06c4 100755
--- a/example-scripts/gstreamer/ingest.py
+++ b/example-scripts/gstreamer/ingest.py
@@ -138,6 +138,11 @@ def mk_audio_src(args, audiocaps):
pulsesrc {audio_device} name=audiosrc !
""".format(audio_device=audio_device)
+ elif args.audio_source == 'alsa':
+ audio_src = """
+ alsasrc {audio_device} name=audiosrc !
+ """.format(audio_device=audio_device)
+
elif args.audio_source == 'blackmagichdmi':
audio_src = """
decklinkaudiosrc !