From faf31366abf6ac7c2c069088466c2aa682152712 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sat, 12 Nov 2011 10:29:30 +0200 Subject: controller: remove functions to add/remove controlled properties Make that implizit with attaching/detaching controlsources. This is a lot easier and has less invalid state (controlled property without control source). --- docs/random/porting-to-0.11.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'docs/random') diff --git a/docs/random/porting-to-0.11.txt b/docs/random/porting-to-0.11.txt index e8f708af3..67f141f4a 100644 --- a/docs/random/porting-to-0.11.txt +++ b/docs/random/porting-to-0.11.txt @@ -419,10 +419,13 @@ The 0.11 porting guide gst_object_sync_values() is taking a GstObject * instead of GObject *. For applications the effect is larger. The whole gst_controller_* API is - gone and now available in simplified form under gst_object_*. - - gst_controller_new* -> gst_object_control_properties - gst_controller_add_properties -> gst_object_control_properties + gone and now available in simplified form under gst_object_*. There is no + more GstController object. Attach a control source to a property to control + it and attach NULL to un-control it. + + gst_controller_new* -> gst_object_set_control_source + gst_controller_add_properties -> gst_object_set_control_source gst_controller_set_control_source -> gst_object_set_control_source gst_controller_get_control_source -> gst_object_get_control_source + gst_controller_set_property_disabled -> gst_object_set_controlled_property_disabled -- cgit v1.2.3