Gst.ParentBufferMeta

Fields

Name

Type

Access

Description

buffer

Gst.Buffer

r/w

the Gst.Buffer on which a reference is being held.

parent

Gst.Meta

r/w

the parent Gst.Meta structure

Methods

class

get_info ()

Details

class Gst.ParentBufferMeta

The Gst.ParentBufferMeta is a Gst.Meta which can be attached to a Gst.Buffer to hold a reference to another buffer that is only released when the child Gst.Buffer is released.

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

New in version 1.6.

classmethod get_info()[source]
Returns:

The Gst.MetaInfo

Return type:

Gst.MetaInfo

Gets the global Gst.MetaInfo describing the Gst.ParentBufferMeta meta.

New in version 1.6.