controller: Fix the function signature and a minor typo fix
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 7 May 2013 11:47:09 +0000 (14:47 +0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 7 May 2013 12:53:23 +0000 (14:53 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=699827

libs/gst/controller/gsttimedvaluecontrolsource.c

index 964bc4f..19cb927 100644 (file)
@@ -105,12 +105,13 @@ gst_control_point_compare (gconstpointer p1, gconstpointer p2)
  * gst_control_point_find:
  * @p1: a pointer to a #GstControlPoint
  * @p2: a pointer to a #GstClockTime
+ * @user_data: supplied user data
  *
- * Compare function for g_list operations that operates on a #GstControlPoint and
+ * Compare function for g_sequence operations that operates on a #GstControlPoint and
  * a #GstClockTime.
  */
 static gint
-gst_control_point_find (gconstpointer p1, gconstpointer p2)
+gst_control_point_find (gconstpointer p1, gconstpointer p2, gpointer user_data)
 {
   GstClockTime ct1 = ((GstControlPoint *) p1)->timestamp;
   GstClockTime ct2 = *(GstClockTime *) p2;