Pad.getParentElement

gst.element.Element getParentElement()

Gets the parent of pad, cast to a #GstElement. If a pad has no parent or its parent is not an element, return null.

Returns

the parent of the pad. The

caller has a reference on the parent, so unref when you're finished with it.

MT safe.