Segment.offsetRunningTime

bool offsetRunningTime(gst.types.Format format, long offset)

Adjust the values in segment so that offset is applied to all future running-time calculations.

Parameters

formatthe format of the segment.
offsetthe offset to apply in the segment

Returns

true if the segment could be updated successfully. If false is

returned, offset is not in segment.