Gst.Query.prototype.find_allocation_meta

function find_allocation_meta(api:GType):Boolean {
    // Gjs wrapper for gst_query_find_allocation_meta()
}

Check if query has metadata api set. When this function returns TRUE, index will contain the index where the requested API and the flags can be found.

api

the metadata API

Returns

TRUE when api is in the list of metadata.