ObjectGst.replace

Atomically modifies a pointer to point to a new object. The reference count of oldobj is decreased and the reference count of newobj is increased. Either newobj and the value pointed to by oldobj may be NULL.

class ObjectGst
static
int
replace

Parameters

oldobj ObjectGst

pointer to a place of a GstObject to replace. inout[transfer full]

newobj ObjectGst

a new GstObject. [transfer none]

Return Value

Type: int

TRUE if newobj was different from oldobj

Meta