Caps.replace

Replaces *caps with newcaps. Unrefs the GstCaps in the location pointed to by caps, if applicable, then modifies caps to point to newcaps. An additional ref on newcaps is taken. This function does not take any locks so you might want to lock the object owning caps pointer.

class Caps
static
void
replace

Parameters

caps Caps

a pointer to GstCaps

newcaps Caps

a GstCaps to replace *caps

Meta