git.slaskete.net
/
python-gstreamer-examples
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a94ae2b
)
quit function should reference self
author
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Thu, 14 Feb 2019 21:16:49 +0000
(22:16 +0100)
committer
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Thu, 14 Feb 2019 21:16:49 +0000
(22:16 +0100)
example1.py
patch
|
blob
|
history
diff --git
a/example1.py
b/example1.py
index ad21708fa0e9cfba4b460db630c1e9f7700e384e..1d7cfa307ca1eef58ac1ce21ce5f8787c2bbc214 100755
(executable)
--- 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
self.pipeline.set_state(Gst.State.PLAYING)
# We want a graceful shutdown on CTRL+C
- def quit(s
ignal, frame
):
+ def quit(s
elf, *args
):
print("stopping")
exit(0)
print("stopping")
exit(0)