[gst-devel] template plugin size

Tim Müller t.i.m at zen.co.uk
Wed Aug 1 10:04:38 CEST 2007


On Tue, 2007-07-31 at 17:17 -0700, Steve Fink wrote:

> If I compile gst-template/gst-plugin/src/gsttransform.c to create a
> basic plugin and try to use it, I get:
> 
> (gst-inspect-0.10:15702): GLib-GObject-WARNING **: specified class
> size for type `GstPluginTemplate' is smaller than the parent type's
> `GstBaseTransform' class size
> 
> The struct definition _GstPluginTemplate contains a GstBaseTransform,
> so it seems like the true size should certainly be larger. But I don't
> know where this gets passed to glib.
> 
> The boilerplate call is
> 
> GST_BOILERPLATE (GstPluginTemplate, gst_plugin_template,
> GstBaseTransform, GST_TYPE_BASE_TRANSFORM);

gsttransform.c includes the wrong headers - it does #include
"gstplugin.h" instead of #include "gsttransform.h".

Cheers
 -Tim






More information about the gstreamer-devel mailing list