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_STATE_PAUSED.

class BaseSrc
void
setFormat

Parameters

format GstFormat

the format to use

Meta