formatsContains

See if the given format is inside the format array.

Parameters

formats gst.types.Format[]

The format array to search

format gst.types.Format

the format to find

Return Value

Type: bool

true if the format is found inside the array