X-Git-Url: https://git.slaskete.net/python-gstreamer-examples/blobdiff_plain/761a0009f72d135a8f858553e46728a4274a2fb6..cfb54fb6f7b6b16e7ee3db7e9eee7a35f38f8be6:/example1.py?ds=sidebyside diff --git a/example1.py b/example1.py index ad21708..1d7cfa3 100755 --- a/example1.py +++ b/example1.py @@ -33,7 +33,7 @@ class Main: self.pipeline.set_state(Gst.State.PLAYING) # We want a graceful shutdown on CTRL+C - def quit(signal, frame): + def quit(self, *args): print("stopping") exit(0)