Gst.Structure.prototype.set_parent_refcount
function set_parent_refcount(refcount:Number):Boolean { // Gjs wrapper for gst_structure_set_parent_refcount() }
Sets the parent_refcount field of Gst.Structure. This field is used to determine whether a structure is mutable or not. This function should only be called by code implementing parent objects of Gst.Structure, as described in the MT Refcounting section of the design documents.
- refcount
a pointer to the parent's refcount
- Returns
true if the parent refcount could be set.