[gst-devel] Gstreamer 0.10 boilerplate problem
Corentin BARON
corentin.baron at inrialpes.fr
Wed Jul 26 10:29:43 CEST 2006
Hello all,
I'm currently porting my plugin from GStreamer 0.8 to 0.10. I coded
everything using #ifs to get things working on both GStreamer 0.8 and
0.10 as I need both. The plugin compiles and work just fine against
0.8 but won't compile with 0.10. Here's what gcc tells me :
> gstblinkysrc.c:331 error: conflicting types for
> `gst_blinkysrc_base_init'
> gstblinkysrc.c:71 error: previous declaration of
> `gst_blinkysrc_base_init'
my boilerplate declaration (line 71):
> GST_BOILERPLATE( (GstBlinkySrc, gst_blinkysrc, GstPushSrc,
> GST_TYPE_PUSH_SRC);
the base_init method ():
> static void gst_blinkysrc_base_init(gpointer *g_class)
> {
> ...
> }
I can't figure out what's wrong with this, the method profile is the
same as in videotestsrc.
Thx for your help,
Corentin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: corentinbaron.gpgkey
Type: application/octet-stream
Size: 916 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060726/c2321ecf/attachment.obj>
-------------- next part --------------
More information about the gstreamer-devel
mailing list