Segment.setRunningTime

bool setRunningTime(gst.types.Format format, ulong runningTime)

Adjust the start/stop and base values of segment such that the next valid buffer will be one with running_time.

Parameters

formatthe format of the segment.
runningTimethe running_time in the segment

Returns

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

returned, running_time is -1 or not in segment.