Returns the parent of object. This function increases the refcount of the parent object so you should gst_object_unref() it after usage.

class ObjectGst

Return Value

Type: ObjectGst

parent of object, this can be NULL if object has no parent. unref after usage.

MT safe. Grabs and releases object's LOCK.