Description

GstMiniObject is a baseclass like GObject, but has been stripped down of
features to be fast and small.
It offers sub-classing and ref-counting in the same way as GObject does.
It has no properties and no signal-support though.

GstMiniObjectFinalizeFunction ()

Virtual function prototype for methods to free ressources used by
mini-objects. Subclasses of the mini object are allowed to revive the
passed object by doing a gst_mini_object_ref(). If the object is not
revived after the finalize function, the memory associated with the
object is freed.

gst_mini_object_is_writable ()

Checks if a mini-object is writable. A mini-object is writable
if the reference count is one and the GST_MINI_OBJECT_FLAG_READONLY
flag is not set. Modification of a mini-object should only be
done after verifying that it is writable.

gst_mini_object_ref ()

Note that the refcount affects the writeability
of mini-object, see gst_mini_object_is_writable(). It is
important to note that keeping additional references to
GstMiniObject instances can potentially increase the number
of memcpy operations in a pipeline, especially if the minibject
is a GstBuffer.