[gst-devel] querry : regarding GST_ELEMENT_GET_CLASS
sudarshan bisht
bisht.sudarshan at gmail.com
Mon Oct 6 09:44:27 CEST 2008
Hi
You can see GST_ELEMENT_GET_CLASS in
gstreamer-0.10.20\gst\gstelement.h file . And why warning "unused variable
'klass" " is coming because you might not be using "klass" variable in your
function.
On Fri, Oct 3, 2008 at 11:01 AM, arnabsamanta
<arnabsamanta at tataelxsi.co.in>wrote:
> Hi ,
>
> Am getting an warning in the following piece of lines and i need to
> avoid
> it.....
> can any body tell me how can it be done ?
> also please tel me what this macro "GST_ELEMENT_GET_CLASS" does ? i
> have
> not come across any doc which describes it
>
>
> static void gst_queue3_init (GstQueue3 *queue3,
> GstVBufferClass * gclass)
> {
> GstElementClass *klass = GST_ELEMENT_GET_CLASS
> (queue3);
> .
> .
> .
>
> }
>
> Warning : unused variable 'klass
>
> when am commenting this line am getting other warnings like
>
> warning: 'copy_buffer_for_plugin' defined but not used
> warning: 'gst_queue3_base_init' defined but not use
> warning: 'gst_queue3_set_caps' defined but not used
>
> Regards,
> ~Arnab
>
>
>
>
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments contained in it.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Regards,
Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20081006/d0c7d27b/attachment.htm>
More information about the gstreamer-devel
mailing list