Plugin not listed in gst-inspect
Srinath, Kamaldeep
kasrinat at akamai.com
Wed Sep 10 10:04:46 PDT 2014
That turned out to be the issue. I had to have the init function defined
in the GST_PLUGIN_DEFINE match with the actual defined function that
return the status of gst_element_register.
static gboolean myfilter_init (GstPlugin * myfilter)
{
GST_DEBUG_CATEGORY_INIT (myfilter_debug, "myfilter",
0, ³myfilter plugin");
return gst_element_register (myfilter, "myfilter", GST_RANK_NONE,
GST_TYPE_MYFILTER);
}
Thanks
Kamal
On 9/10/14, 10:26 PM, "Srinath, Kamaldeep" <kasrinat at akamai.com> wrote:
>Have you set your GST_PLUGIN_PATH to your GStreamer libs path?
>
>I am facing a similar issue and would like to know why get-inspect wont
>find my plugin. The plugin did compile fine. But I also received the
>following warnings:
>
>$ make
> CC myfilter_la-myfilter.lo
>gstmyfilter.c:2242:1: warning: initialization from incompatible pointer
>type [enabled by default]
> GST_PLUGIN_DEFINE (
> ^
>gstmyfilter.c:2242:1: warning: (near initialization for
>'gst_plugin_desc.plugin_init') [enabled by default]
> CC libgstmyfilter_la-utilities.lo
>
>
>
>Would any of these warnings cause get-inspect to not find the plugin?
>
>Thanks
>Kamal
>
>
>On 9/10/14, 10:06 PM, "Annick Fron" <list at afceurope.com> wrote:
>
>>I have compiled a plugin, its dynamic library is in the same place as
>>libgstreamer, but it is not listed in
>>gst-inspect
>>
>>Annick
>>_______________________________________________
>>gstreamer-devel mailing list
>>gstreamer-devel at lists.freedesktop.org
>>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list