gst/gst.c: Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.
authorSebastian Dröge <slomo@circular-chaos.org>
Sat, 12 Jul 2008 17:51:16 +0000 (17:51 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Sat, 12 Jul 2008 17:51:16 +0000 (17:51 +0000)
Original commit message from CVS:
* gst/gst.c:
Fix scanning of paths given via --gst-plugin-path. Fixes bug #542175.

ChangeLog
gst/gst.c

index 45268a8..fda3d7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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>
 
        * docs/pwg/building-testapp.xml:
index acce140..41f7711 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -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 */