[gst-devel] [gst-embedded] My First Plugin - Help please

Zhao Liang-E3423C E3423C at motorola.com
Wed Feb 4 02:16:48 CET 2009


do you add libgstbase.so as your sink lib dependency?
 
Zhao Liang

________________________________

From: Daniel James Laird [mailto:daniel.j.laird at nxp.com] 
Sent: Tuesday, February 03, 2009 6:07 PM
To: gstreamer-devel at lists.sourceforge.net
Cc: gstreamer-embedded at lists.sourceforge.net
Subject: [gst-embedded] My First Plugin - Help please



I am trying to write my first video sink plugin.

 

I have read the manual and used the autogenerate tool to generate my
component. (MyFramedVideo)

 

I have created a class that use GST_BOILERPLATE and extends
GST_TYPE_VIDEO_SINK.

 

The plugin builds and installs onto my devices rootfs.

I then run gst-inspect and I keep getting the same error:

****

(gst-inspect-0.10:535): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstMyFramedVideo.so':
/usr/lib/gstreamer-0.10/libgstMyFramedVideo.so: undefined symbol:
gst_base_sink_get_type

****

 

What am I doing wrong? I have looked at a great many other plugins and
make files and I do not seem very different!! I can see that this symbol
is in gstcoreelements.so but no one else seems to need to add
-lgstcorelements.  Also If I try this it all builds and this error never
appears but gst-inspect just hangs.

 

Really hope someone can help

Many thanks

Daniel Laird

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090204/80afa78e/attachment.htm>


More information about the gstreamer-devel mailing list