gst.parent_buffer_meta

Module for [ParentBufferMeta] class

Types 1

The #GstParentBufferMeta is a #GstMeta which can be attached to a #GstBuffer to hold a reference to another buffer that is only released when the child #GstBuffer is released.

Typically, #GstParentBufferMeta is used when the child buffer is directly using the #GstMemory of the parent buffer, and wants to prevent the parent buffer from being returned to a buffer pool until the #GstMemory is available for re-use.

Fields
Methods
void * _cPtr()
gst.meta.Meta parent() @propertyGet `parent` field. Returns: the parent #GstMeta structure
gst.buffer.Buffer buffer() @propertyGet `buffer` field. Returns: the #GstBuffer on which a reference is being held.
void buffer(gst.buffer.Buffer propval) @propertySet `buffer` field. Params: propval = the #GstBuffer on which a reference is being held.
gst.meta_info.MetaInfo getInfo()Gets the global #GstMetaInfo describing the #GstParentBufferMeta meta. Returns: The #GstMetaInfo
Constructors
this(void * ptr, Flag!"Take" take)