valueCompare

fnint valueCompare(gobject.value.Value value1, gobject.value.Value value2)

Compares value1 and value2. If value1 and value2 cannot be compared, the function returns GST_VALUE_UNORDERED. Otherwise, if value1 is greater than value2, GST_VALUE_GREATER_THAN is returned. If value1 is less than value2, GST_VALUE_LESS_THAN is returned. If the values are equal, GST_VALUE_EQUAL is returned.

Parameters

value1a value to compare
value2another value to compare

Returns

comparison result