Format

Members

Static functions

contains
bool contains(GstFormat[] formats, GstFormat format)

See if the given format is inside the format array.

getByNick
GstFormat getByNick(string nick)

Return the format registered with the given nick.

getDetails
GstFormatDefinition* getDetails(GstFormat format)

Get details about the given format.

getName
string getName(GstFormat format)

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

iterateDefinitions
Iterator iterateDefinitions()

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

register
GstFormat register(string nick, string description)

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

toQuark
GQuark toQuark(GstFormat format)

Get the unique quark for the given format.