libs/gst/controller/gstcontroller.c: Better if we actually iterate the list :)

Original commit message from CVS:
* libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
Better if we actually iterate the list :)
This commit is contained in:
Edward Hervey 2005-09-29 15:39:22 +00:00
parent 4d6a030306
commit 52b24de958
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-09-29 Edward Hervey <edward@fluendo.com>
* libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
Better if we actually iterate the list :)
2005-09-29 Wim Taymans <wim@fluendo.com>
* check/gst/gstbin.c: (GST_START_TEST):

View file

@ -469,7 +469,7 @@ gst_controller_new_list (GObject * object, GList * list)
self = g_object_get_qdata (object, __gst_controller_key);
/* create GstControlledProperty for each property */
for (node = list; node; node = g_list_next (list)) {
for (node = list; node; node = g_list_next (node)) {
name = (gchar *) node->data;
/* test if this property isn't yet controlled */
if (!self || !(prop = gst_controller_find_controlled_property (self, name))) {