Caps.take

Modifies a pointer to a GstCaps to point to a different GstCaps. This function is similar to gst_caps_replace() except that it takes ownership of new_caps.

class Caps
static
int
take

Parameters

oldCaps GstCaps**

pointer to a pointer to a GstCaps to be replaced. inout[transfer full]

newCaps Caps

pointer to a GstCaps that will replace the caps pointed to by ocaps. [transfer full][allow-none]

Return Value

Type: int

TRUE if new_caps was different from old_caps

Meta