On Fri, Jun 18, 2010 at 3:08 PM, Greg Wunder
<[hidden email]> wrote:
What is the proper method to check for linkage between pads that may have availability of "Sometimes"?
Are there code examples of this?
I'm not sure I get your question, but let me try to answer it.
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.
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.
Hope this helps.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
--
Thiago Sousa Santos
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel