PyGObject - importing Gst 0.11

Jason Gerard DeRose jderose at novacut.com
Wed Feb 15 08:26:08 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

On Wed, Feb 15, 2012 at 7:42 AM, tomw <tomw at ubilix.com> wrote:

> Hi,
>
> after installing gstreamer0.11 I got difficulties using the new version
> from pyGobject. How do I make sure gstreamer0.11 is used instead of
> gstreamer0.10?
>
> >>> from gi.repository import Gst
> >>> Gst.version_string ()
> 'GStreamer 0.10.35'
>
>
>
> --
> tomw <tomw at ubilix.com>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120215/64566792/attachment.htm>


More information about the gstreamer-devel mailing list