Format#

class Format#

Standard predefined formats

Methods#

class Format
get_by_nick() Format#

Return the format registered with the given nick.

get_details() FormatDefinition | None#

Get details about the given format.

get_name() str | None#

Get a printable name for the given format. Do not modify or free.

iterate_definitions() Iterator#

Iterate all the registered formats. The format definition is read only.

register(description: str) Format#

Create a new GstFormat based on the nick or return an already registered format with that nick.

Parameters:

description – The description of the new format

to_quark() int#

Get the unique quark for the given format.

Fields#

class Format
BUFFERS#

The type of the None singleton.

BYTES#

The type of the None singleton.

DEFAULT#

The type of the None singleton.

PERCENT#

The type of the None singleton.

TIME#

The type of the None singleton.

UNDEFINED#

The type of the None singleton.