You can also force a specific media type on the link by using gst_pad_link_filtered () and gst_element_link_filtered (). FIXME link to caps documentation.