[gst-devel] register Plugin
Sanjay Gupta
sanjayg417 at gmail.com
Thu Jun 14 14:05:21 CEST 2007
On 6/14/07, Vikas Patel <Vikas.Patel at imgtec.com> wrote:
>
> I have done the same thing but why it's not coming in Plugin list by
> executing of gst-inspect function.
>
> Where am I wrong?
>
> Regards
>
> Vikas
>
can you execute the following command?
$gst-inspect-0.10 --gst-debug-level=5 2>~/Desktop/output.txt
you can see the output.txt file to know the reason of failure. Please let us
know too.
Regards,
Sanjay
------------------------------
>
> *From:* Sanjay Gupta [mailto:sanjayg417 at gmail.com]
> *Sent:* Thursday, June 14, 2007 4:47 PM
> *To:* Vikas Patel
> *Cc:* gstreamer-devel at lists.sourceforge.net
> *Subject:* Re: [gst-devel] register Plugin
>
>
>
> On 6/14/07, *Vikas Patel* <Vikas.Patel at imgtec.com> wrote:
>
> *Hi,*
>
> Can anybody let me know, How to register Plugin with Gstreamer.
>
> Thanks in advance
>
>
>
> *Regards*
>
> *Vikas*
>
> In the plugin template ,in function plugin_init(), gst_element_register()
> function is used to register elements in your plugin. See the following
> piece of code from plugin template.
> ------------------
> static gboolean plugin_init (GstPlugin * plugin)
> {
> return gst_element_register (plugin, "myelement",
> GST_RANK_NONE, GST_TYPE_PLUGIN_TEMPLATE);
> }
>
> GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
> GST_VERSION_MINOR,
> "plugin",
> "Template plugin",
> plugin_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/ ")
>
>
> ------------------------
> Also you have to run gst-inspect-0.10 command to add your plugin
> information in gstreamer registry file.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070614/ed0be4c5/attachment.htm>
More information about the gstreamer-devel
mailing list