ObjectGst.replace

Unrefs the GstObject pointed to by oldobj, refs newobj and puts newobj in *oldobj. Be carefull when calling this function, it does not take any locks. You might want to lock the object owning oldobj pointer before calling this function. Make sure not to LOCK oldobj because it might be unreffed which could cause a deadlock when it is disposed.

class ObjectGst
static
void
replace

Parameters

oldobj ObjectGst

pointer to a place of a GstObject to replace

newobj ObjectGst

a new GstObject

Meta