Troubles with Gobject Introspection

pecisk at pecisk at
Mon Jul 25 13:14:48 PDT 2011

Hi everyone!

This year I'm trying to port Jokosher from Gtk+2 to Gtk+3 using GI and
also I have added Gstreamer in the row. As sailing uncharted seas, I
have encountered several strange issue which I want to point here:

1) Gst.ElementFactory() has method create(), which is new way to
create GstElements. I checked with Gst-0.10.gir and method description
seems to be fine. However, I get this error:
(python:3736): GStreamer-CRITICAL **: gst_registry_find_plugin:
assertion `name != NULL' failed
and GST_DEBUG shows this that null is passed instead of string of element name:
0:00:00.014177244  3751  0x98fddf0 WARN      GST_PLUGIN_LOADING
gstpluginfeature.c:132:gst_plugin_feature_load: Failed to load plugin
containing feature '(null)'.
0:00:00.014205391  3751  0x98fddf0 WARN     GST_ELEMENT_FACTORY
loading plugin containing feature level returned NULL!

2) It feels to me that something is wrong with scanned classes and
methods - I can't find where Parse methods (I was looking for
bin_from_description) are hidden (by Gst-0.10.gir they are somewhere
under Gst.XML namespace but I can't launch them like that - like
Gst.XML().parse_bin_from_description), and I can't initalise Parse
itself (or ParseContext) correctly.

Already thanks for any ideas where I should dig,

More information about the gstreamer-devel mailing list