From: Michael S. <ms...@xi...> - 2010-09-14 04:49:42
|
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 <fy...@br...> 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: mlr...@gm... [mailto:mlr...@gm...] On Behalf Of Michael Smith > Sent: Monday, September 13, 2010 5:08 PM > To: Feng Ye > Cc: gst...@li... > 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 <fy...@br...> 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 > > > |