Thanks Mike, that explains why I can't find this function in certain cases.
Is there a general guide line as to when I should implement my own get_type() 
function?


Feng

-----Original Message-----
From: mlrsm...@gmail.com [mailto:mlrsm...@gmail.com] On Behalf Of Michael Smith
Sent: Monday, September 13, 2010 5:08 PM
To: Feng Ye
Cc: gstreamer-embedded@lists.sourceforge.net
Subject: Re: [gst-embedded] what is the GstType that's passed to the 
gst_element_register() call for plugin_init?

On Mon, Sep 13, 2010 at 4:51 PM, Feng Ye <f...@broadcom.com> wrote:
> Hello there,
>
>
>
> I am doing my plugin and I have a question regarding the last parameter in
> the gst_element_register() call, which is the GstType.
>
> In the base plugin package, I see normally it's defined in the header file
> to a function, but for someĀ  plugins this function is there in the package,
> for others it's not.

In most plugins, the get_type() function is provided by the
GST_BOILERPLATE or GST_BOILERPLATE_FULL macros.

Mike



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to