BaseSrc.newSeamlessSegment

Prepare a new seamless segment for emission downstream. This function must only be called by derived sub-classes, and only from the create() function, as the stream-lock needs to be held.

The format for the new segment will be the current format of the source, as configured with BaseSrc.setFormat

class BaseSrc
bool
newSeamlessSegment
(
long start
,
long stop
,
long time
)

Parameters

start long

The new start value for the segment

stop long

Stop value for the new segment

time long

The new time value for the start of the new segment

Return Value

Type: bool

TRUE if preparation of the seamless segment succeeded.