Prepare a new 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 segment must be identical with the current format
of the source, as configured with gstbase.base_src.BaseSrc.setFormat.
Prepare a new 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 segment must be identical with the current format of the source, as configured with gstbase.base_src.BaseSrc.setFormat.
The format of src must not be gst.types.Format.Undefined and the format should be configured via gstbase.base_src.BaseSrc.setFormat before calling this method.