summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
Diffstat (limited to 'clients')
-rwxr-xr-xclients/source/ingest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/clients/source/ingest.py b/clients/source/ingest.py
index dbd4a4b..2b63dde 100755
--- a/clients/source/ingest.py
+++ b/clients/source/ingest.py
@@ -228,8 +228,11 @@ def run_pipeline(pipeline, args):
except KeyboardInterrupt:
print('Terminated via Ctrl-C')
+ print('Shutting down...')
+ senderPipeline.set_state(Gst.State.NULL)
+ print('Done.')
-
+ return
def get_args():