<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/">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>
Jyoti<br></div>