summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Zanelli <aurelien.zanelli@parrot.com>2015-11-25 17:36:25 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-01-08 18:24:06 +0000
commit6b718776928395432d88e48df4b985724228d925 (patch)
treeb3e11d7951a3704ce521d15d806ce1c67875f7c4
parent2f41e7bc6a842044cb73bc0470601200575c378a (diff)
controlsource: fix GetValue and GetValueArray documentation
GstControlSourceGetValue() value paramater is a gdouble, not a GValue and GstControlSourceGetValueArray doesn't return a GstValueArray but an array of double. https://bugzilla.gnome.org/show_bug.cgi?id=758668
-rw-r--r--gst/gstcontrolsource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/gstcontrolsource.h b/gst/gstcontrolsource.h
index b1b5b1bac..4bd9f5c99 100644
--- a/gst/gstcontrolsource.h
+++ b/gst/gstcontrolsource.h
@@ -66,7 +66,7 @@ struct _GstTimedValue
* GstControlSourceGetValue:
* @self: the #GstControlSource instance
* @timestamp: timestamp for which a value should be calculated
- * @value: a #GValue which will be set to the result. It must be initialized to the correct type.
+ * @value: a value which will be set to the result.
*
* Function for returning a value for a given timestamp.
*
@@ -95,7 +95,7 @@ typedef gboolean (* GstControlSourceGetValueArray) (GstControlSource *self,
/**
* GstControlSource:
* @get_value: Function for returning a value for a given timestamp
- * @get_value_array: Function for returning a #GstValueArray for a given timestamp
+ * @get_value_array: Function for returning a values array for a given timestamp
*
* The instance structure of #GstControlSource.
*/