ObjectGst.hasAsParent

Check if @parent is the parent of @object. E.g. a #GstElement can check if it owns a given #GstPad.

class ObjectGst
bool
hasAsParent

Parameters

parent ObjectGst

a #GstObject to check as parent

Return Value

Type: bool

%FALSE if either @object or @parent is %NULL. %TRUE if @parent is the parent of @object. Otherwise %FALSE.

MT safe. Grabs and releases @object's locks.

Meta