From: Stefan Sauer Date: Thu, 27 Oct 2011 08:38:10 +0000 (+0200) Subject: controller: fix wrong order of calls in the docs. X-Git-Tag: RELEASE-0.10.36~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03797b9a1271e8920f9bb824935ba11fff5c039d;p=platform%2Fupstream%2Fgstreamer.git controller: fix wrong order of calls in the docs. --- diff --git a/libs/gst/controller/gstcontroller.c b/libs/gst/controller/gstcontroller.c index b5d69f5..f6e2cbf 100644 --- a/libs/gst/controller/gstcontroller.c +++ b/libs/gst/controller/gstcontroller.c @@ -53,17 +53,20 @@ * controller = gst_object_control_properties (object, "prop1", "prop2",...); * * - * Get a #GstControlSource for the property and set it up. + * create a #GstControlSource. * csource = gst_interpolation_control_source_new (); * gst_interpolation_control_source_set_interpolation_mode(csource, mode); - * gst_interpolation_control_source_set (csource,0 * GST_SECOND, value1); - * gst_interpolation_control_source_set (csource,1 * GST_SECOND, value2); * * - * Set the #GstControlSource in the controller. + * Attach the #GstControlSource on the controller to a property. * gst_controller_set_control_source (controller, "prop1", csource); * * + * Set the control values + * gst_interpolation_control_source_set (csource,0 * GST_SECOND, value1); + * gst_interpolation_control_source_set (csource,1 * GST_SECOND, value2); + * + * * start your pipeline * *