Modifies a pointer to a GstCaps to point to a different GstCaps. The
modification is done atomically (so this is useful for ensuring thread safety
in some cases), and the reference counts are updated appropriately (the old
caps is unreffed, the new is reffed).
Either ncaps or the GstCaps pointed to by ocaps may be NULL.
Modifies a pointer to a GstCaps to point to a different GstCaps. The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old caps is unreffed, the new is reffed). Either ncaps or the GstCaps pointed to by ocaps may be NULL.