Clock.unadjustWithCalibration

gst.types.ClockTime unadjustWithCalibration(gst.types.ClockTime externalTarget, gst.types.ClockTime cinternal, gst.types.ClockTime cexternal, gst.types.ClockTime cnum, gst.types.ClockTime cdenom)

Converts the given external_target clock time to the internal time, using the passed calibration parameters. This function performs the same calculation as [gst.clock.Clock.unadjustUnlocked] when called using the current calibration parameters.

Note

The clock parameter is unused and can be NULL

Parameters

externalTargeta 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.