ValueGst.canUnion

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.

struct ValueGst
static
bool
canUnion

Parameters

value1 Value

a value to union

value2 Value

another value to union

Return: %TRUE if there is a function allowing the two values to be unioned.

Meta