Segment.positionFromRunningTime

Convert running_time into a position in the segment so that Segment.toRunningTime with that position returns running_time.

class Segment
ulong
positionFromRunningTime

Parameters

format GstFormat

the format of the segment.

runningTime ulong

the running_time in the segment

Return Value

Type: ulong

the position in the segment for running_time. This function returns -1 when running_time is -1 or when it is not inside segment.

Meta