<div dir="ltr">Try using environment variable GST_PLUGIN_PATH or --gst-plugin-path command line paratemer to indicate gstreamer where should it look for plugins.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/9/12 jyoti kulkarni <span dir="ltr"><<a href="mailto:jyotimk029@gmail.com" target="_blank">jyotimk029@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Hello All,<br><br></div>I have written a plugin (similar to filesink), using make element tool.<br></div>and it compiles fine(using ./autogen.sh), but when i launch it with gat-launch i get no such element error, here is how i register my plugin in .c file generated by make element tool.<br>
<br>static gboolean<br>myown_plugin_init (GstPlugin * myown_plugin)<br>{<br> /* debug category for fltering log messages<br> *<br> * exchange the string 'Template myfilter' with your description<br> */<br>
_do_init<br>
<br> return gst_element_register (myown_plugin, "myown_plugin", GST_RANK_NONE,<br> GST_TYPE_FILE_SINK);<br>}<br><br>GST_PLUGIN_DEFINE (<br> GST_VERSION_MAJOR,<br> GST_VERSION_MINOR,<br> myown_plugin,<br>
"Template myown_plugin",<br> myown_plugin_init,<br> VERSION,<br> "LGPL",<br> "GStreamer",<br> "<a href="http://gstreamer.net/" target="_blank">http://gstreamer.net/</a>"<br>
)<br>
<br></div>where _do_init is:<br><br>GST_DEBUG_CATEGORY_INIT (gst_myown_plugin_debug, "myown_plugin", 0, "myown_plugin element");<br><br></div>Please help me with the concern.<br><br></div>Thanks <br></div>
<span class="HOEnZb"><font color="#888888">
Jyoti<br></font></span></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>