Segment.init

The start/position fields are set to 0 and the stop/duration fields are set to -1 (unknown). The default rate of 1.0 and no flags are set.

Initialize segment to its default values.

class Segment
void
init

Parameters

format GstFormat

the format of the segment.