Format.register

gst.types.Format register(string nick, string description)

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

Parameters

nickThe nick of the new format
descriptionThe description of the new format

Returns

A new GstFormat or an already registered format

with the same nick.

MT safe.