Trying to use gst / omx in python

Sebastian Dröge sebastian at centricular.com
Tue Apr 8 07:50:38 PDT 2014


On Di, 2014-04-08 at 15:02 +0100, TDAS wrote:
> Thanks Sebastian. So my import statements now read:
> 
>    import sys, os
>    import pygst, pygtk
>    from gi.repository import Gst, Gtk, GObject
> 
> …(it complains if either the Gtk and GObject aren’t also taken from
> the gi repo). It’s now telling me that gtk isn’t defined… confused! 

It's Gtk with an uppercase G now.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20140408/8b1bb8be/attachment.sig>


More information about the gstreamer-openmax mailing list