gst-python make issues

Alex Stefan Kaye noxdeleo at googlemail.com
Thu Mar 28 10:34:54 PDT 2013


Hi all,

I've been trying to compile gst-python to work around this bug 
(https://bugzilla.gnome.org/show_bug.cgi?id=686572), and I came across 
some make errors. I've attached the config.log and a log of the make 
attempt. I don't know if I should even be using gst-python (looks out 
of date), but I think I saw it on the agenda for the hackfest that 
started today, so maybe it'll be of use to someone.

Anyway, I can't seem to get the workaround in the thread to work. I've 
got a "Playlist" class subclassed from Gst.Bin, and I'm using this code 
before creating any instances:

def get_element_class(klass):
 element_class = GObject.type_class_peek(klass.__gtype__)
 element_class.__class__ = Gst.ElementClass
 return element_class

get_element_class(Playlist).set_metadata('longname', 'classification', 
'description',
'author')
Playlist.register(None, 'playlist', Gst.Rank.NONE, Playlist.__gtype__)

..but it doesn't seem to make any difference. I still get:

(python3:5285): GStreamer-WARNING **: Element factory metadata for 
'bin' has no valid long-name field
**
GStreamer:ERROR:gst.c:524:gst_register_core_elements: code should not 
be reached
Aborted (core dumped)

I'm thinking this is to do with 'bin' itself rather than my subclass, 
especially since I just noticed I haven't imported GObject, so I guess 
get_element_class isn't even reached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130328/dce3db7f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-python-make.log
Type: text/x-log
Size: 2540 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130328/dce3db7f/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 33370 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130328/dce3db7f/attachment-0003.bin>


More information about the gstreamer-devel mailing list