object: update controller documentation

This commit is contained in:
Mark Nauwelaerts 2012-09-21 21:13:13 +02:00
parent 771d061658
commit a722212dc9

View file

@ -66,20 +66,16 @@
* </orderedlist>
*
* What needs to be done in applications?
* Again its not a lot to change.
* Again it's not a lot to change.
* <orderedlist>
* <listitem><para>
* first put some properties under control, by calling
* gst_object_control_properties (object, "prop1", "prop2",...);
* </para></listitem>
* <listitem><para>
* create a #GstControlSource.
* csource = gst_interpolation_control_source_new ();
* g_object_set (csource, "mode", GST_INTERPOLATION_MODE_LINEAR, NULL);
* </para></listitem>
* <listitem><para>
* Attach the #GstControlSource on the controller to a property.
* gst_object_add_control_binding (object, gst_direct_control_binding_new (objetct, "prop1", csource));
* gst_object_add_control_binding (object, gst_direct_control_binding_new (object, "prop1", csource));
* </para></listitem>
* <listitem><para>
* Set the control values