15.2. Making filtered links

You can also force a specific media type on the link by using gst_pad_link_filtered () and gst_element_link_filtered () with capabilities. See Section 5.2 for an explanation of capabilities.