<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have done the same thing but why it’s
not coming in Plugin list by executing of gst-inspect function. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Where am I wrong?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Vikas<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Sanjay Gupta
[mailto:sanjayg417@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, June 14, 2007 4:47
PM<br>
<b><span style='font-weight:bold'>To:</span></b> Vikas Patel<br>
<b><span style='font-weight:bold'>Cc:</span></b>
gstreamer-devel@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [gst-devel] register
Plugin</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On 6/14/07, <b><span style='font-weight:bold'>Vikas Patel</span></b>
<<a href="mailto:Vikas.Patel@imgtec.com">Vikas.Patel@imgtec.com</a>>
wrote:<o:p></o:p></span></font></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>
<div link=blue vlink=purple>
<div>
<p><b><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
font-weight:bold'>Hi,</span></font></b><o:p></o:p></p>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Can
anybody let me know, How to register Plugin with Gstreamer.</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Thanks
in advance</span></font><o:p></o:p></p>
<p><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana'> </span></font><o:p></o:p></p>
<p><b><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
font-weight:bold'>Regards</span></font></b><o:p></o:p></p>
<p><b><font size=2 face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
font-weight:bold'>Vikas</span></font></b><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>In the plugin template ,in function plugin_init(),
gst_element_register() function is used to register elements in your plugin.
See the following piece of code from plugin template. <br>
------------------<br>
static gboolean plugin_init (GstPlugin * plugin)<br>
{<br>
return gst_element_register (plugin, "myelement",<br>
GST_RANK_NONE, GST_TYPE_PLUGIN_TEMPLATE);<br>
}<br>
<br>
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, <br>
GST_VERSION_MINOR,<br>
"plugin",<br>
"Template plugin",<br>
plugin_init, VERSION, "LGPL",
"GStreamer", "<a href="http://gstreamer.net/">http://gstreamer.net/</a>
")<o:p></o:p></span></font></p>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
------------------------<br>
Also you have to run gst-inspect-0.10 command to add your plugin information in
gstreamer registry file.<br>
<br>
Regards,<br>
Sanjay<o:p></o:p></span></font></p>
</div>
<br><br><table bgcolor=white style="color:black"><tr><td><br>-<br>
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm<br>
-</td></tr></table></body>
</html>