set_format
Description:
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 < PAUSED.
Parameters:
this |
base source instance |
format |
the format to use |