<P>
thanks rene,<BR>
<BR>
i want to know what is the use of _get_caps function.<BR>
when it will be called? <BR>
who will call this function?<BR>
how many times it will be called?<BR>
what will happen if my get_caps function simply returns TRUE and does nothing else?<BR>
<BR>
regards,<BR>
baskar.<BR>
<BR>
<BR>
On Sun, 05 Oct 2008 René Stadler wrote :<BR>
>baskar r wrote:<BR>
>>hi all,<BR>
>><BR>
>>the types of caps in gstreamer is<BR>
>>1.simple<BR>
>>2.fixed<BR>
>>3.any and<BR>
>>4.empty<BR>
>><BR>
>>what is the significance of empty caps.<BR>
>><BR>
>>if i write a plugin with empty caps for both src and sink pads , how the plugin will connect to its peer element.<BR>
>><BR>
>>regards,<BR>
>>baskar.<BR>
><BR>
>As you noticed, it makes no sense to have EMPTY caps in any pad template.<BR>
><BR>
>EMPTY caps can very well be the result of a caps intersection operation. Like when you try to link two incompatible pads, core detects that the caps intersection in EMPTY during negotiation and the link errors out.<BR>
><BR>
>-- Regards,<BR>
> René Stadler<BR>
</P>
regards,
<br>
baskar.
<br>
<br>
There are some people in this world who die very early bcoz GOD loves them more.
<br>
But you are still alive bcoz there is someone who loves you more than god.<br><br>