2008-03-31 Stefan Kost <ensonic@users.sf.net>
+ * gst/gst.c:
+ Fix type in log message and add one to ease seeing how long registry
+ cache verification takes.
+
+ * gst/gstregistry.c:
+ Only test plugin filenames against G_MODULE_SUFFIX.
+
+2008-03-31 Stefan Kost <ensonic@users.sf.net>
+
* gst/gstdebugutils.c:
Improve handling ghost/proxy pads.
gboolean changed = FALSE;
GList *l;
+ GST_INFO ("Validating registry cache");
+
/* scan paths specified via --gst-plugin-path */
GST_DEBUG ("scanning paths added via --gst-plugin-path");
for (l = plugin_paths; l != NULL; l = l->next) {
}
if (!write_changes) {
- GST_INFO ("Registry cached changed, but writing is disabled. Not writing.");
+ GST_INFO ("Registry cache changed, but writing is disabled. Not writing.");
return REGISTRY_SCAN_AND_UPDATE_FAILURE;
}
g_free (filename);
continue;
}
- if (!g_str_has_suffix (filename, ".so") &&
- !g_str_has_suffix (filename, ".sl") &&
- !g_str_has_suffix (filename, ".dll") &&
- !g_str_has_suffix (filename, ".dynlib")) {
+ if (!g_str_has_suffix (filename, G_MODULE_SUFFIX)) {
GST_LOG_OBJECT (registry,
"extension is not recognized as module file, ignoring");
g_free (filename);