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
(
void* p1
,
void* p2
)

Parameters

p1 void*

a GstPluginFeature

p2 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

Meta