can_union


Description:


public bool can_union (Value value1, 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:

value1

a value to union

value2

another value to union

Returns:

true if there is a function allowing the two values to be unioned.


Namespace: Gst.Value
Package: gstreamer-1.0