diff options
-rwxr-xr-x | clients/source/ingest.py | 5 |
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(): |