object: update controller documentation
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 21 Sep 2012 19:13:13 +0000 (21:13 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 21 Sep 2012 19:13:13 +0000 (21:13 +0200)
gst/gstobject.c

index 70536cd..dace38b 100644 (file)
  * </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