Fixes some bug, probably?
[python-gstreamer-examples] / example1.py
index ad21708fa0e9cfba4b460db630c1e9f7700e384e..1d7cfa307ca1eef58ac1ce21ce5f8787c2bbc214 100755 (executable)
@@ -33,7 +33,7 @@ class Main:
     self.pipeline.set_state(Gst.State.PLAYING)
 
   # We want a graceful shutdown on CTRL+C
     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)
 
     print("stopping")
     exit(0)