Gst.Pad.prototype.get_parent_element
function get_parent_element():Gst.Element { // Gjs wrapper for gst_pad_get_parent_element() }
Gets the parent of pad, cast to a Gst.Element. 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.