gsttagxmp

gsttagxmp — tag mappings and support functions for plugins dealing with xmp packets

Synopsis

#include <gst/tag/tag.h>

GstTagList *             gst_tag_list_from_xmp_buffer   (const GstBuffer *buffer);
GstBuffer *              gst_tag_list_to_xmp_buffer     (const GstTagList *list,
                                                         gboolean read_only);

Description

Contains various utility functions for plugins to parse or create xmp packets and map them to and from GstTagLists.

Please note that the xmp parser is very lightweight and not strict at all.

Details

gst_tag_list_from_xmp_buffer ()

GstTagList *             gst_tag_list_from_xmp_buffer   (const GstBuffer *buffer);

Parse a xmp packet into a taglist.

buffer :

buffer

Returns :

new taglist or NULL, free the list when done

Since 0.10.29


gst_tag_list_to_xmp_buffer ()

GstBuffer *              gst_tag_list_to_xmp_buffer     (const GstTagList *list,
                                                         gboolean read_only);

Formats a taglist as a xmp packet.

list :

tags

read_only :

does the container forbid inplace editing

Returns :

new buffer or NULL, unref the buffer when done

Since 0.10.29

See Also

GstTagList