mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
gst/gst.c: Fix type in log message and add one to ease seeing how long registry cache verification takes.
Original commit message from CVS: * 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.
This commit is contained in:
parent
4da82e9b62
commit
e2f65711ee
3 changed files with 13 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
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:
|
||||
|
|
|
@ -656,6 +656,8 @@ scan_and_update_registry (GstRegistry * default_registry,
|
|||
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) {
|
||||
|
@ -723,7 +725,7 @@ scan_and_update_registry (GstRegistry * default_registry,
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
@ -828,10 +828,7 @@ gst_registry_scan_path_level (GstRegistry * registry, const gchar * path,
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue