Gst.ParentBufferMeta¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
buffer |
r/w |
the |
|
parent |
r/w |
the parent |
Methods¶
class |
|
Details¶
- class Gst.ParentBufferMeta¶
The
Gst.ParentBufferMeta
is aGst.Meta
which can be attached to aGst.Buffer
to hold a reference to another buffer that is only released when the childGst.Buffer
is released.Typically,
Gst.ParentBufferMeta
is used when the child buffer is directly using theGst.Memory
of the parent buffer, and wants to prevent the parent buffer from being returned to a buffer pool until theGst.Memory
is available for re-use.New in version 1.6.
- classmethod get_info()[source]¶
- Returns:
The
Gst.MetaInfo
- Return type:
Gets the global
Gst.MetaInfo
describing theGst.ParentBufferMeta
meta.New in version 1.6.