mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
controller: Fix the function signature and a minor typo fix
https://bugzilla.gnome.org/show_bug.cgi?id=699827
This commit is contained in:
parent
ba354f6b03
commit
f2bbbdff59
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue