Clock.adjustWithCalibration

Converts the given @internal_target clock time to the external time, using the passed calibration parameters. This function performs the same calculation as gst_clock_adjust_unlocked() when called using the 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

Parameters

internalTarget GstClockTime

a clock time

cinternal GstClockTime

a reference internal time

cexternal GstClockTime

a reference external time

cnum GstClockTime

the numerator of the rate of the clock relative to its internal time

cdenom GstClockTime

the denominator of the rate of the clock

Return Value

the converted time of the clock.

Meta