Commit 52b24de9 authored by Edward Hervey's avatar Edward Hervey 🤘

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 :)
parent 4d6a0303
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):
......
......@@ -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))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment