1.打印信息
GstElementFactory *factory;
factory = gst_element_factory_find ("rtspsrc");
if (!factory) {
GST_DEBUG ("You don‘t have the ‘audioconvert‘ element installed!\n");
return -1;
}
GST_DEBUG ("\nThe ‘%s‘ element is a member of the category '%s'. Description: %s\n",
gst_plugin_feature_get_name (GST_PLUGIN_FEATURE (factory)),
gst_element_factory_get_klass (factory),
gst_element_factory_get_description (factory));