plugin->module = module;
return TRUE;
}
+ else {
+ /* plugin == NULL */
+ g_set_error (error,
+ GST_PLUGIN_ERROR,
+ GST_PLUGIN_ERROR_MODULE,
+ "gst_plugin_register_func failed for plugin \"%s\"",
+ filename);
+ return FALSE;
+ }
}
else {
g_set_error (error,
GST_PLUGIN_ERROR_MODULE,
"Error loading plugin %s, reason: %s\n",
filename, g_module_error());
+ return FALSE;
}
+ /* FIXME: this should not happen */
+ g_set_error (error,
+ GST_PLUGIN_ERROR,
+ GST_PLUGIN_ERROR_MODULE,
+ "Error loading plugin %s, reason: %s\n",
+ filename,
+ "fell of the end of the gst_plugin_load_plugin function");
return FALSE;
}
## this is a REALLY evil hack
## but we need to keep it as long as we have libs/gst and libs/ext
$(top_builddir)/libs/ext/cothreads/cothreads/libcothreads-gthreads.la:
- cd $(top_builddir)/libs/ext/cothreads/cothreads && make
+ cd $(top_builddir)/libs/ext/cothreads/cothreads && ${MAKE}
noinst_HEADERS = cothreads_compat.h