直接调用 gst_element_link_pads(...) , 同样在 gstutils.c ,入参为上有element和下游element 。 gst_element_link_pads 实现同样在 gstutils.c /** * gst_element_link_pads: * @src: a #GstElement containing the source pad. * @srcpadname: (nullable): the name of the #GstPad in source ...