:right-sidebar: True MetaInfo =================================================================== .. currentmodule:: gi.repository.Gst .. class:: MetaInfo(*args, **kwargs) :no-contents-entry: The :obj:`~gi.repository.Gst.MetaInfo` provides information about a specific metadata structure. Methods ------- .. rst-class:: interim-class .. class:: MetaInfo :no-index: .. method:: is_custom() -> bool .. versionadded:: 1.20 .. method:: register() -> ~gi.repository.Gst.MetaInfo Registers a new meta. Use the structure returned by :func:`~gi.repository.Gst.MetaInfo.new`, it consumes it and the structure shouldnt be used after. The one returned by the function can be kept. .. versionadded:: 1.24 Fields ------ .. rst-class:: interim-class .. class:: MetaInfo :no-index: .. attribute:: api Tag identifying the metadata structure and api .. attribute:: clear_func Function for clearing the metadata, or :const:`None` if not supported by this meta. This is called by the buffer pool when a buffer is returned for pooled metas. .. versionadded:: 1.24 .. attribute:: deserialize_func Function for deserializing the metadata, or :const:`None` if not supported by this meta. .. versionadded:: 1.24 .. attribute:: free_func Function for freeing the metadata .. attribute:: init_func Function for initializing the metadata .. attribute:: serialize_func Function for serializing the metadata, or :const:`None` if not supported by this meta. .. versionadded:: 1.24 .. attribute:: size Size of the metadata .. attribute:: transform_func Function for transforming the metadata .. attribute:: type Type identifying the implementor of the api