diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2011-11-12 10:29:30 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2011-11-14 10:02:55 +0100 |
commit | faf31366abf6ac7c2c069088466c2aa682152712 (patch) | |
tree | 1dfac9466685f0ec719884dc11a65ad8426a1476 /docs/random | |
parent | f5988567652d91005f91a9e3247dab7bced00a89 (diff) |
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).
Diffstat (limited to 'docs/random')
-rw-r--r-- | docs/random/porting-to-0.11.txt | 11 |
1 files changed, 7 insertions, 4 deletions
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 |