BaseSrc.newSeamlessSegment
bool newSeamlessSegment(long start, long stop, long time)Prepare a new seamless segment for emission downstream. This function must only be called by derived sub-classes, and only from the #GstBaseSrcClass::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 [gstbase.base_src.BaseSrc.setFormat]
Parameters
start | The new start value for the segment |
stop | Stop value for the new segment |
time | The new time value for the start of the new segment |
Returns
true if preparation of the seamless segment succeeded.
Deprecated
Use [gstbase.base_src.BaseSrc.newSegment]