Function prototype for when a miniobject has lost its last refcount. Implementation of the mini object are allowed to revive the passed object by doing a MiniObject.ref. If the object is not revived after the dispose function, the function should return TRUE and the memory associated with the object is freed.

alias GstMiniObjectDisposeFunction = int function(GstMiniObject* obj)

Return Value

TRUE if the object should be cleaned up.