ObjectWrap.hasAncestor
bool hasAncestor(gst.object.ObjectWrap ancestor)Check if object has an ancestor ancestor somewhere up in the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.
Parameters
ancestor | a #GstObject to check as ancestor |
Returns
true if ancestor is an ancestor of object.
Deprecated
Use [gst.object.ObjectWrap.hasAsAncestor] instead.
MT safe. Grabs and releases object's locks.