[API] discussion: gst_element_link_delayed
@meh
Submitted by Mathieu Duponchelle Link to original bug (#784268)
Description
The goal of this API would be to avoid requiring the use of pad-added callbacks for elements that expose sometimes pads (eg rtpbin).
I'm not entirely sure what form the API should take, but here are a few use cases:
- When rtpbin exposes a pad named "send_rtp_src_0", link it with a given pad
- When rtpbin exposes a pad named "send_rtp_src_0", link it with any pad in a given element
- When rtpbin exposes a pad named "send_rtp_src_0", request a pad named 'audio_%02x' from a given element and link them.
A problematic part might be error handling :)
Thoughts?