ParentBufferMeta

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.

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

cPtr
void* cPtr()

Properties

buffer
gst.buffer.Buffer buffer [@property getter]

Get buffer field.

buffer
gst.buffer.Buffer buffer [@property setter]

Set buffer field.

parent
gst.meta.Meta parent [@property getter]

Get parent field.

Static functions

getInfo
gst.meta_info.MetaInfo getInfo()

Gets the global #GstMetaInfo describing the #GstParentBufferMeta meta.