PyGObject - importing Gst 0.11

tomw tomw at ubilix.com
Wed Feb 15 08:55:58 PST 2012


> If you have both 0.10 and 0.11 installed, you can pick between the 2
> with gi.require_version():
> 
> >>> import gi
> >>> gi.require_version('Gst', '0.11')
> >>> from gi.repository import Gst

Thanks, that did it. I was trying to solve the eos message issue [1] by
moving to 0.11 but I'm running into another issue now: 

Gst.ElementFactory.make ("playbin2", "foo") 

returns None. If I switch back to 0.10.35 it works. 


[1] https://bugzilla.gnome.org/show_bug.cgi?id=631901

-- 
tomw <tomw at ubilix.com>



More information about the gstreamer-devel mailing list