formats_contains

function formats_contains(formats:[Gst.Format], format:Gst.Format):Boolean {
    // Gjs wrapper for gst_formats_contains()
}

See if the given format is inside the format array.

formats

The format array to search

format

the format to find

Returns

TRUE if the format is found inside the array