libs/gst/controller/: Add a new private GstControlPoint struct which "inherits" from
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 17 May 2007 17:05:36 +0000 (17:05 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 17 May 2007 17:05:36 +0000 (17:05 +0000)
commitb92d7dc076cce5b0e96d1c611bfbbd19574d0c55
treeb12d94e5c1451720ff587102174b9b5154d84218
parent1a6e50f5ca34e1ca4a052e8580754f2657f26c10
libs/gst/controller/: Add a new private GstControlPoint struct which "inherits" from

Original commit message from CVS:
reviewed by: Stefan Kost <ensonic@users.sf.net>
* libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
(gst_control_point_find), (gst_controlled_property_new),
(gst_control_point_free), (gst_controlled_property_free),
(gst_controller_set), (gst_controller_set_from_list),
(gst_controller_unset), (gst_controller_unset_all),
(gst_controller_sync_values):
* libs/gst/controller/gstcontroller.h:
* libs/gst/controller/gstcontrollerprivate.h:
* libs/gst/controller/gstinterpolation.c:
(gst_controlled_property_find_control_point_node),
(interpolate_none_get), (interpolate_trigger_get):
Add a new private GstControlPoint struct which "inherits" from
GstTimedValue to allow different interpolators to store internal
values next to each control point. From the outside everything is
still a GstControlPoint so we don't loose binary compatibility.
Also fixup all the GValue handling to not leak GValues or list nodes.
* tests/check/libs/controller.c: (GST_START_TEST):
Free the list nodes and GValues in the controller_misc test.
ChangeLog
libs/gst/controller/gstcontroller.c
libs/gst/controller/gstcontroller.h
libs/gst/controller/gstcontrollerprivate.h
libs/gst/controller/gstinterpolation.c
tests/check/libs/controller.c