mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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:
parent
4d6a030306
commit
52b24de958
2 changed files with 6 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue