GStreamer Base Plugins 0.10 Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#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
); GstBuffer * gst_tag_list_to_xmp_buffer_full (const GstTagList *list
,gboolean read_only
,const gchar **schemas
); const gchar ** gst_tag_xmp_list_schemas (void
);
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.
GstTagList * gst_tag_list_from_xmp_buffer (const GstBuffer *buffer
);
Parse a xmp packet into a taglist.
|
buffer |
Returns : |
new taglist or NULL , free the list when done |
Since 0.10.29
GstBuffer * gst_tag_list_to_xmp_buffer (const GstTagList *list
,gboolean read_only
);
Formats a taglist as a xmp packet.
|
tags |
|
does the container forbid inplace editing |
Returns : |
new buffer or NULL , unref the buffer when done |
Since 0.10.29
GstBuffer * gst_tag_list_to_xmp_buffer_full (const GstTagList *list
,gboolean read_only
,const gchar **schemas
);
Formats a taglist as a xmp packet using only the selected
schemas. An empty list (NULL
) means that all schemas should
be used
|
tags |
|
does the container forbid inplace editing |
|
NULL terminated array of schemas to be used on serialization |
Returns : |
new buffer or NULL , unref the buffer when done |
Since 0.10.33