ObjectGst.hasAncestor

Check if @object has an ancestor @ancestor somewhere up in the hierarchy. One can e.g. check if a #GstElement is inside a #GstPipeline.

More...
class ObjectGst
bool
hasAncestor

Parameters

ancestor ObjectGst

a #GstObject to check as ancestor

Return Value

Type: bool

%TRUE if @ancestor is an ancestor of @object.

Detailed Description

Deprecated: Use gst_object_has_as_ancestor() instead.

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

Meta