gst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.

Original commit message from CVS:
* gst/gst.c:
Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
This commit is contained in:
Sebastian Dröge 2008-07-12 17:51:16 +00:00
parent c12e6b2e20
commit d434f41f85
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/gst.c:
Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
2008-07-12 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: tmatth <le dot businessman at gmail dot com>

View file

@ -675,8 +675,7 @@ scan_and_update_registry (GstRegistry * default_registry,
GST_DEBUG ("scanning paths added via --gst-plugin-path");
for (l = plugin_paths; l != NULL; l = l->next) {
GST_INFO ("Scanning plugin path: \"%s\"", (gchar *) l->data);
/* FIXME: add changed |= here as well? */
gst_registry_scan_path (default_registry, (gchar *) l->data);
changed |= gst_registry_scan_path (default_registry, (gchar *) l->data);
}
/* keep plugin_paths around in case a re-scan is forced later on */