Gst.Object.prototype.ref
function ref():Gst.Object { // Gjs wrapper for gst_object_ref() }
Increments the reference count on object. This function does not take the lock on object because it relies on atomic refcounting.
This object returns the input parameter to ease writing constructs like : result = gst_object_ref (object->parent);
- Returns
A pointer to object