<br><br><div class="gmail_quote">On Fri, Jun 18, 2010 at 3:08 PM, Greg Wunder <span dir="ltr"><<a href="mailto:gwunder@eoir.com">gwunder@eoir.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<p><font size="2">What is the proper method to check for linkage between pads that may have availability of "Sometimes"?<br>
Are there code examples of this?<br></font></p></div></blockquote><div>I'm not sure I get your question, but let me try to answer it.</div><div><br></div><div>Once the pad is created, you can use GstPad's API to inspect its caps and see if they can link with gst_pad_can_link, but I assume you want to know before these pads exist.</div>
<div><br></div><div>GstElement has function to get its template pads, so you can compare the templates of 2 pads and check if their caps intersect, so they 'might' link.</div><div><br></div><div>Hope this helps.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><p><font size="2">
<br>
<br>
</font>
</p>
</div>
<br>------------------------------------------------------------------------------<br>
ThinkGeek and WIRED's GeekDad team up for the Ultimate<br>
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the<br>
lucky parental unit. See the prize list and enter to win:<br>
<a href="http://p.sf.net/sfu/thinkgeek-promo" target="_blank">http://p.sf.net/sfu/thinkgeek-promo</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>