+2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
+ * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
+ don't walk through the plugins backwards. Where is all this
+ reversed logic coming from ?
+
2005-08-25 Wim Taymans <wim@fluendo.com>
* gst/base/gstbasetransform.c: (gst_base_transform_init),
walk = g_list_next (walk);
}
- plugins = g_list_reverse (plugins);
-
do {
length = g_list_length (plugins);
g_assert (walk->data);
plugin = gst_plugin_load_file ((gchar *) walk->data, NULL);
if (plugin) {
- prune = g_list_prepend (prune, walk->data);
+ prune = g_list_append (prune, walk->data);
gst_registry_add_plugin (registry, plugin);
}
walk = g_list_next (walk);
}
- plugins = g_list_reverse (plugins);
-
do {
length = g_list_length (plugins);
g_assert (walk->data);
plugin = gst_plugin_load_file ((gchar *) walk->data, NULL);
if (plugin) {
- prune = g_list_prepend (prune, walk->data);
+ prune = g_list_append (prune, walk->data);
gst_registry_add_plugin (registry, plugin);
}