BaseSrc.setFormat
void setFormat(gst.types.Format format)Sets the default format of the source. This will be the format used for sending SEGMENT events and for performing seeks.
If a format of GST_FORMAT_BYTES is set, the element will be able to operate in pull mode if the #GstBaseSrcClass::is_seekable returns true.
This function must only be called in states < [gst.types.State.Paused].
Parameters
format | the format to use |