Segment.setNewsegment

Update the segment structure with the field values of a new segment event and with a default applied_rate of 1.0.

class Segment
void
setNewsegment
(
int update
,
double rate
,,
long start
,
long stop
,
long time
)

Parameters

update int

flag indicating a new segment is started or updated

rate double

the rate of the segment.

format GstFormat

the format of the segment.

start long

the new start value

stop long

the new stop value

time long

the new stream time Since 0.10.6

Meta