PluginFeature.rankCompareFunc

Compares the two given #GstPluginFeature instances. This function can be used as a #GCompareFunc when sorting by rank and then by name.

class PluginFeature
static
int
rankCompareFunc
(
const(void)* p1 = null
,
const(void)* p2 = null
)

Parameters

p1 const(void)*

a #GstPluginFeature

p2 const(void)*

a #GstPluginFeature

Return Value

Type: int

negative value if the rank of p1 > the rank of p2 or the ranks are equal but the name of p1 comes before the name of p2; zero if the rank and names are equal; positive value if the rank of p1 < the rank of p2 or the ranks are equal but the name of p2 comes before the name of p1