X-Git-Url: https://git.slaskete.net/python-gstreamer-examples/blobdiff_plain/c5383e2b27c8b6da301037eaba28839182331414..b54b187e73a58eb84029383355ae66f95d17d75a:/example1.py diff --git a/example1.py b/example1.py index c2e6e6e..3d944ba 100755 --- 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 -from gi.repository import Gst -import gobject +from gi.repository import Gst, GObject class Main: def __init__(self): @@ -32,5 +31,5 @@ class Main: # Create the pipelie and enter main loop, quit with ctrl+c start = Main() -mainloop = gobject.MainLoop() +mainloop = GObject.MainLoop() mainloop.run()