:right-sidebar: True ParentBufferMeta =================================================================== .. currentmodule:: gi.repository.Gst .. versionadded:: 1.6 .. class:: ParentBufferMeta(*args, **kwargs) :no-contents-entry: The :obj:`~gi.repository.Gst.ParentBufferMeta` is a :obj:`~gi.repository.Gst.Meta` which can be attached to a :obj:`~gi.repository.Gst.Buffer` to hold a reference to another buffer that is only released when the child :obj:`~gi.repository.Gst.Buffer` is released. Typically, :obj:`~gi.repository.Gst.ParentBufferMeta` is used when the child buffer is directly using the :obj:`~gi.repository.Gst.Memory` of the parent buffer, and wants to prevent the parent buffer from being returned to a buffer pool until the :obj:`~gi.repository.Gst.Memory` is available for re-use. Methods ------- .. rst-class:: interim-class .. class:: ParentBufferMeta :no-index: .. classmethod:: get_info() -> ~gi.repository.Gst.MetaInfo Gets the global :obj:`~gi.repository.Gst.MetaInfo` describing the :obj:`~gi.repository.Gst.ParentBufferMeta` meta. .. versionadded:: 1.6 Fields ------ .. rst-class:: interim-class .. class:: ParentBufferMeta :no-index: .. attribute:: buffer The :obj:`~gi.repository.Gst.Buffer` on which a reference is being held. .. attribute:: parent The parent :obj:`~gi.repository.Gst.Meta` structure