Original commit message from CVS:
added more INFO lines to elementfactory_make to make debugging missing plugins easier
//gst_plugin_load_elementfactory(factoryname);
factory = gst_elementfactory_find(factoryname);
- if (factory == NULL) return NULL;
+ if (factory == NULL) {
+ GST_INFO (GST_CAT_ELEMENTFACTORY,"no such elementfactory \"%s\"!",factoryname);
+ return NULL;
+ }
element = gst_elementfactory_create(factory,name);
+ if (element == NULL) {
+ GST_INFO (GST_CAT_ELEMENTFACTORY,"couldn't create instance of elementfactory \"%s\"!",factoryname);
+ return NULL;
+ }
return element;
}