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 gst.object.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.