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
This commit is contained in:
Aurélien Zanelli 2015-11-25 17:36:25 +01:00 committed by Tim-Philipp Müller
parent 2f41e7bc6a
commit 6b71877692

View file

@ -66,7 +66,7 @@ struct _GstTimedValue
* GstControlSourceGetValue: * GstControlSourceGetValue:
* @self: the #GstControlSource instance * @self: the #GstControlSource instance
* @timestamp: timestamp for which a value should be calculated * @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. * Function for returning a value for a given timestamp.
* *
@ -95,7 +95,7 @@ typedef gboolean (* GstControlSourceGetValueArray) (GstControlSource *self,
/** /**
* GstControlSource: * GstControlSource:
* @get_value: Function for returning a value for a given timestamp * @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. * The instance structure of #GstControlSource.
*/ */