BaseSrc.setFormat

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.

class BaseSrc
void
setFormat

Parameters

format gst.types.Format

the format to use