new_segment
Description:
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
set_format.
The format of this must not be UNDEFINED and the format should be configured via set_format before calling this method.
Parameters:
this |
a Src |
segment |
a pointer to a Segment |
Returns:
|