<p dir="ltr">You need <br>
First get the pad templated of flvmux, GstPadTemplate with gst_element_class_get_pad_template()<br>
Then get de sinkvideo pad or audio, by requesting with<br>
gst_element_request_pad() function, passing the element(flvmux) and the pad template(GstPadTemplate)<br>
Then only link de sink pad..<br>
</p>