MiniObject.addParent

This adds @parent as a parent for @object. Having one ore more parents affects the writability of @object: if a @parent is not writable, @object is also not writable, regardless of its refcount. @object is only writable if all the parents are writable and its own refcount is exactly 1.

Note: This function does not take ownership of @parent and also does not take an additional reference. It is the responsibility of the caller to remove the parent again at a later time.

class MiniObject
void
addParent

Parameters

parent MiniObject

a parent #GstMiniObject

Meta

Since

1.16