docs: also fix wrong call order for controller in manual
authorStefan Sauer <ensonic@users.sf.net>
Fri, 28 Oct 2011 11:39:58 +0000 (13:39 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 8 Nov 2011 21:18:24 +0000 (22:18 +0100)
docs/manual/advanced-dparams.xml

index ef3c6af..548d489 100644 (file)
   gst_interpolation_control_source_set_interpolation_mode(csource, GST_INTERPOLATE_LINEAR);
     </programlisting>
     <para>
+      Now we need to assign the control-source to the gobject property. One 
+      control source can only be assigned to one property.
+    </para>
+    <programlisting>
+      gst_controller_set_control_source (controller, "prop1", csource);
+    </programlisting>
+    <para>
       This control-source takes new property values from a list of time-stamped
       parameter changes. The source can e.g. fill gaps by smoothing parameter
       changes. This behaviour can be configured by setting the 
   gst_interpolation_control_source_set (csource, 1 * GST_SECOND, value2);
     </programlisting>
     <para>
-      Finally we need to assign the control-source to the gobject property. One 
-      control source can only be assigned to one property.
-    </para>
-    <programlisting>
-      gst_controller_set_control_source (controller, "prop1", csource);
-    </programlisting>
-    <para>
       Now everything is ready to play. One final note - the controller subsystem
       has a builtin live-mode. Even though a property has a control-source
       assigned one can change the GObject property through the