[gst-embedded] what is the GstType that's passed to the gst_element_register() call for plugin_init?

Michael Smith msmith at xiph.org
Mon Sep 13 21:49:34 PDT 2010


Basically only when GST_BOILERPLATE/GST_BOILERPLATE_FULL doesn't work
for your purposes.

Mike


On Mon, Sep 13, 2010 at 9:42 PM, Feng Ye <fye at broadcom.com> wrote:
> 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: mlrsmith at gmail.com [mailto:mlrsmith at gmail.com] On Behalf Of Michael Smith
> Sent: Monday, September 13, 2010 5:08 PM
> To: Feng Ye
> Cc: gstreamer-embedded at 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 <fye at 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
>
>
>




More information about the Gstreamer-embedded mailing list