<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5346.5" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>Hello
There</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>I am just trying to
do a simple log in my (gst plugin) that work with
another library, to trace resource leaks in the library that is being used
by the plugin.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>I get a proper name
in the finalize but I get (null) in the initialize. When can I expect the
element name to be </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>initialized
?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>Code snippet looks
as follows:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>gst_myelement_init(GstMyElement *filter,
GstMyElementClass* gclass)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>{</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
gchar* elementname =
gst_element_get_name(GST_ELEMENT(filter));</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
g_message("Initialized %s", elementname);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
g_free(elementname);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>gst_myelement_finalize(GObject*
object)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>{</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
GstMyElement *filter = GST_MYELEMENT(object);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006> gchar*
elementname = gst_element_get_name(GST_ELEMENT(filter));</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
g_message("Finalized %s", elementname);</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>
g_free(elementname);</SPAN></FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>}</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=344180511-18052006>Thanks for your
time</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=344180511-18052006>Vasanth</SPAN></FONT></DIV><br><br><br>=========================================================<br><br>This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster@nds.com and destroy the original message</BODY></HTML>