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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 <[hidden email]> wrote: Hi , -- Regards, Sudarshan Bisht ------------------------------------------------------------------------- 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 [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |