controller: Fix the function signature and a minor typo fix

https://bugzilla.gnome.org/show_bug.cgi?id=699827
This commit is contained in:
Sreerenj Balachandran 2013-05-07 14:47:09 +03:00 committed by Sebastian Dröge
parent ba354f6b03
commit f2bbbdff59

View file

@ -105,12 +105,13 @@ gst_control_point_compare (gconstpointer p1, gconstpointer p2)
* gst_control_point_find: * gst_control_point_find:
* @p1: a pointer to a #GstControlPoint * @p1: a pointer to a #GstControlPoint
* @p2: a pointer to a #GstClockTime * @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. * a #GstClockTime.
*/ */
static gint 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 ct1 = ((GstControlPoint *) p1)->timestamp;
GstClockTime ct2 = *(GstClockTime *) p2; GstClockTime ct2 = *(GstClockTime *) p2;