Segment.setRunningTime

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

class Segment
int
setRunningTime

Parameters

format GstFormat

the format of the segment.

runningTime ulong

the running_time in the segment

Return Value

Type: int

TRUE if the segment could be updated successfully. If FALSE is returned, running_time is -1 or not in segment.

Meta