mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
gstmeta: Some more docs
This commit is contained in:
parent
9cbb135954
commit
4839131502
1 changed files with 16 additions and 8 deletions
|
@ -42,13 +42,21 @@ _priv_gst_meta_initialize (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gst_meta_register_info:
|
* gst_meta_register:
|
||||||
* @info: a #GstMetaInfo
|
* @api: the name of the #GstMeta API
|
||||||
|
* @impl: the name of the #GstMeta implementation
|
||||||
|
* @size: the size of the #GstMeta structure
|
||||||
|
* @init_func: a #GstMetaInitFunction
|
||||||
|
* @free_func: a #GstMetaFreeFunction
|
||||||
|
* @copy_func: a #GstMetaCopyFunction
|
||||||
|
* @transform_func: a #GstMetaTransformFunction
|
||||||
*
|
*
|
||||||
* Register a #GstMetaInfo. The same @info can be retrieved later with
|
* Register a new #GstMeta implementation.
|
||||||
* gst_meta_get_info() by using @impl as the key.
|
|
||||||
*
|
*
|
||||||
* Returns: a #GstMetaInfo that can be used to access metadata.
|
* The same @info can be retrieved later with gst_meta_get_info() by using
|
||||||
|
* @impl as the key.
|
||||||
|
*
|
||||||
|
* Returns: (transfer none): a #GstMetaInfo that can be used to access metadata.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const GstMetaInfo *
|
const GstMetaInfo *
|
||||||
|
@ -85,11 +93,11 @@ gst_meta_register (const gchar * api, const gchar * impl, gsize size,
|
||||||
* gst_meta_get_info:
|
* gst_meta_get_info:
|
||||||
* @impl: the name
|
* @impl: the name
|
||||||
*
|
*
|
||||||
* Lookup a previously registered meta info structure by its implementor name
|
* Lookup a previously registered meta info structure by its implementation name
|
||||||
* @impl.
|
* @impl.
|
||||||
*
|
*
|
||||||
* Returns: a #GstMetaInfo with @impl or #NULL when no such metainfo
|
* Returns: (transfer none): a #GstMetaInfo with @impl, or #NULL when no such
|
||||||
* exists.
|
* metainfo exists.
|
||||||
*/
|
*/
|
||||||
const GstMetaInfo *
|
const GstMetaInfo *
|
||||||
gst_meta_get_info (const gchar * impl)
|
gst_meta_get_info (const gchar * impl)
|
||||||
|
|
Loading…
Reference in a new issue