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.
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.