ObjectGst.hasAsAncestor

Check if object has an ancestor ancestor somewhere up in the hierarchy. One can e.g. check if a gstreamer.Element is inside a gstreamer.Pipeline

class ObjectGst
bool
hasAsAncestor

Parameters

ancestor ObjectGst

a GstObject to check as ancestor

Return Value

Type: bool

TRUE if ancestor is an ancestor of object.

MT safe. Grabs and releases object's locks.