Getting a instance type error
Tim-Philipp Müller
t.i.m at zen.co.uk
Sat Dec 15 08:24:03 PST 2012
On Fri, 2012-12-14 at 12:31 -0800, iron_guitarist1987 wrote:
Hi,
> I have some custom plugins that I have been working on. For some reason I
> started getting these messages when I run gst-inspect:
>
> (gst-plugin-scanner:10801): GLib-GObject-WARNING **: specified instance size
> for type `GstMyPlugin' is smaller than the parent type's `GstElement'
> instance size
>
> (gst-plugin-scanner:10801): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
> (gst-plugin-scanner:10801): GStreamer-CRITICAL **: gst_element_register:
> assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed
>
> (gst-plugin-scanner:10801): GLib-GObject-WARNING **: cannot register
> existing type `GstTestElement'
>
> (gst-plugin-scanner:10801): GLib-CRITICAL **: g_once_init_leave: assertion
> `initialization_value != 0' failed
>
> (gst-plugin-scanner:10801): GStreamer-CRITICAL **: gst_element_register:
> assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed
> any ideas?? Thank you.
Please post your GstMyPlugin structure and your
GST_BOILERPLATE/G_DEFINE_TYPE code.
Cheers
-Tim
More information about the gstreamer-devel
mailing list