Clock.adjustWithCalibration

gst.types.ClockTime adjustWithCalibration(gst.types.ClockTime internalTarget, gst.types.ClockTime cinternal, gst.types.ClockTime cexternal, gst.types.ClockTime cnum, gst.types.ClockTime cdenom)

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.Clock.adjustUnlocked] when called using the current calibration parameters, but doesn't ensure a monotonically increasing result as [gst.clock.Clock.adjustUnlocked] does.

Note

The clock parameter is unused and can be NULL

Parameters

internalTargeta clock time
cinternala reference internal time
cexternala reference external time
cnumthe numerator of the rate of the clock relative to its internal time
cdenomthe denominator of the rate of the clock

Returns

the converted time of the clock.