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:
c5383e2
)
Use GTK3 GObject instead of GTK2 gobject
author
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Sun, 10 May 2015 15:24:11 +0000
(17:24 +0200)
committer
Einar Jørgen Haraldseid
<einar@haraldseid.net>
Sun, 10 May 2015 15:24:11 +0000
(17:24 +0200)
example1.py
patch
|
blob
|
history
diff --git
a/example1.py
b/example1.py
index c2e6e6e216f21a75d0c74e22844d2cfa2769500a..3d944bad1c15fd039b8e7696331da2a3a1c88799 100755
(executable)
--- a/
example1.py
+++ b/
example1.py
@@
-7,8
+7,7
@@
# Info on porting python scripts to Gstreamer 1.0 can be found here:
# https://wiki.ubuntu.com/Novacut/GStreamer1.0
# Info on porting python scripts to Gstreamer 1.0 can be found here:
# https://wiki.ubuntu.com/Novacut/GStreamer1.0
-from gi.repository import Gst
-import gobject
+from gi.repository import Gst, GObject
class Main:
def __init__(self):
class Main:
def __init__(self):
@@
-32,5
+31,5
@@
class Main:
# Create the pipelie and enter main loop, quit with ctrl+c
start = Main()
# Create the pipelie and enter main loop, quit with ctrl+c
start = Main()
-mainloop =
go
bject.MainLoop()
+mainloop =
GO
bject.MainLoop()
mainloop.run()
mainloop.run()