Structure.setParentRefcount

Sets the parent_refcount field of #GstStructure. 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 #GstStructure, as described in the MT Refcounting section of the design documents.

class Structure
bool
setParentRefcount
()

Parameters

refcount int*

a pointer to the parent's refcount

Return Value

Type: bool

%TRUE if the parent refcount could be set.

Meta