to_quark

function to_quark(format:Gst.Format):GLib.Quark {
    // Gjs wrapper for gst_format_to_quark()
}

Get the unique quark for the given format.

format

a Gst.Format

Returns

the quark associated with the format or 0 if the format is unknown.