Commit 5fe1b7ef authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

clock: adjust/unadjust_with_calibration() have a clock parameter but it's useless

Document this, for 2.0 we should just remove that parameter.
parent fb01dd00
......@@ -847,9 +847,10 @@ gst_clock_get_resolution (GstClock * clock)
return 1;
}
/* FIXME 2.0: Remove clock parameter below */
/**
* gst_clock_adjust_with_calibration:
* @clock: a #GstClock to use
* @clock: (allow-none): a #GstClock to use
* @internal_target: a clock time
* @cinternal: a reference internal time
* @cexternal: a reference external time
......@@ -863,6 +864,8 @@ gst_clock_get_resolution (GstClock * clock)
* current calibration parameters, but doesn't ensure a monotonically
* increasing result as gst_clock_adjust_unlocked() does.
*
* Note: The @clock parameter is unused and can be NULL
*
* Returns: the converted time of the clock.
*
* Since: 1.6
......@@ -937,9 +940,10 @@ gst_clock_adjust_unlocked (GstClock * clock, GstClockTime internal)
return priv->last_time;
}
/* FIXME 2.0: Remove clock parameter below */
/**
* gst_clock_unadjust_with_calibration:
* @clock: a #GstClock to use
* @clock: (allow-none): a #GstClock to use
* @external_target: a clock time
* @cinternal: a reference internal time
* @cexternal: a reference external time
......@@ -952,6 +956,8 @@ gst_clock_adjust_unlocked (GstClock * clock, GstClockTime internal)
* same calculation as gst_clock_unadjust_unlocked() when called using the
* current calibration parameters.
*
* Note: The @clock parameter is unused and can be NULL
*
* Returns: the converted time of the clock.
*
* Since: 1.8
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment