From: <en...@fr...> - 2005-08-05 17:29:17
|
CVS Root: /cvs/gstreamer Module: gstreamer Changes by: ensonic Date: Fri Aug 05 2005 10:28:42 PDT Log message: adding more entries to the docs and fix small doc-bugs Modified files: . : ChangeLog docs/libs : gstreamer-libs-sections.txt libs/gst/controller: gst-controller.c gst-controller.h gst-helper.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.1333&r2=1.1334 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/docs/libs/gstreamer-libs-sections.txt.diff?r1=1.17&r2=1.18 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/libs/gst/controller/gst-controller.c.diff?r1=1.4&r2=1.5 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/libs/gst/controller/gst-controller.h.diff?r1=1.3&r2=1.4 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/libs/gst/controller/gst-helper.c.diff?r1=1.3&r2=1.4 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v retrieving revision 1.1333 retrieving revision 1.1334 diff -u -d -r1.1333 -r1.1334 --- ChangeLog 5 Aug 2005 12:59:45 -0000 1.1333 +++ ChangeLog 5 Aug 2005 17:28:29 -0000 1.1334 @@ -1,5 +1,13 @@ 2005-08-05 Stefan Kost <en...@us...> + * docs/libs/gstreamer-libs-sections.txt: + * libs/gst/controller/gst-controller.c: + * libs/gst/controller/gst-controller.h: + * libs/gst/controller/gst-helper.c: + adding more entries to the docs and fix small doc-bugs + +2005-08-05 Stefan Kost <en...@us...> * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: * docs/gst/gstreamer.types: Index: gstreamer-libs-sections.txt RCS file: /cvs/gstreamer/gstreamer/docs/libs/gstreamer-libs-sections.txt,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- gstreamer-libs-sections.txt 5 Aug 2005 10:02:44 -0000 1.17 +++ gstreamer-libs-sections.txt 5 Aug 2005 17:28:30 -0000 1.18 @@ -116,6 +116,8 @@ <TITLE>GstController</TITLE> <INCLUDE>libs/controller/gstcontroller.h</INCLUDE> GstController +GstValueArray +GstInterpolateMode gst_controller_init gst_controller_new gst_controller_new_valist Index: gst-controller.c RCS file: /cvs/gstreamer/gstreamer/libs/gst/controller/gst-controller.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- gst-controller.c 5 Aug 2005 12:59:46 -0000 1.4 +++ gst-controller.c 5 Aug 2005 17:28:30 -0000 1.5 @@ -637,7 +637,7 @@ * gst_controller_get: * @self: the controller object which handles the properties * @property_name: the name of the property to get - * timestamp: the time the control-change should be read from + * @timestamp: the time the control-change should be read from * * Gets the value for the given controller-handled property at the requested * time. @@ -841,8 +841,8 @@ /** * gst_controller_set_interpolation_mode: - * @controller: - * @property_name: + * @self: the controller object + * @property_name: the name of the property for which to change the interpolation * @mode: interpolation mode * Sets the given interpolation mode on the given property. Index: gst-controller.h RCS file: /cvs/gstreamer/gstreamer/libs/gst/controller/gst-controller.h,v retrieving revision 1.3 diff -u -d -r1.3 -r1.4 --- gst-controller.h 5 Aug 2005 12:59:46 -0000 1.3 +++ gst-controller.h 5 Aug 2005 17:28:30 -0000 1.4 @@ -61,15 +61,20 @@ * GstValueArray: + * @property_name: the name of the property this array belongs to + * @nbsamples: number of samples requested + * @sample_interval: interval between each sample + * @values: pointer to the array - * Structure to receive multiple values at once + * Structure to receive multiple values at once. + * If the pointer to the values array is NULL, it will be allocated (CHECKME). */ typedef struct _GstValueArray { gchar *property_name; - gint nbsamples; // Number of samples requested - GstClockTime sample_interval; // Interval between each sample - gpointer *values; // pointer to the array (so it can be filled if NULL) + gint nbsamples; + GstClockTime sample_interval; + gpointer *values; } GstValueArray; Index: gst-helper.c RCS file: /cvs/gstreamer/gstreamer/libs/gst/controller/gst-helper.c,v --- gst-helper.c 5 Aug 2005 12:59:46 -0000 1.3 +++ gst-helper.c 5 Aug 2005 17:28:30 -0000 1.4 @@ -39,7 +39,7 @@ * gst_object_control_properties: * @object: the object of which some properties should be controlled - * @var_args: %NULL terminated list of property names that should be controlled + * @...: %NULL terminated list of property names that should be controlled * Convenience function for GObject @@ -68,7 +68,7 @@ * gst_object_uncontrol_properties: * @object: the object of which some properties should not be controlled anymore @@ -99,8 +99,7 @@ * gst_object_get_controller: * @object: the object that has controlled properties - * Returns: the controller handling some of the given element's properties, - * %NULL if no controller + * Returns: the controller handling some of the given element's properties, %NULL if no controller GstController * gst_object_get_controller (GObject * object) @@ -188,7 +187,7 @@ * gst_object_get_value_array: - * @self: the object that has controlled properties + * @object: the object that has controlled properties * @timestamp: the time that should be processed * @value_array: array to put control-values in |