valueCanUnion

fnbool valueCanUnion(gobject.value.Value value1, gobject.value.Value value2)

Determines if value1 and value2 can be non-trivially unioned. Any two values can be trivially unioned by adding both of them to a GstValueList. However, certain types have the possibility to be unioned in a simpler way. For example, an integer range and an integer can be unioned if the integer is a subset of the integer range. If there is the possibility that two values can be unioned, this function returns true.

Parameters

value1a value to union
value2another value to union

Returns

true if there is a function allowing the two values to

be unioned.