Top | ![]() |
![]() |
![]() |
![]() |
GstVorbisTagGstVorbisTag — tag mappings and support functions for plugins dealing with vorbiscomments |
const gchar * | gst_tag_from_vorbis_tag () |
const gchar * | gst_tag_to_vorbis_tag () |
void | gst_vorbis_tag_add () |
GList * | gst_tag_to_vorbis_comments () |
GstTagList * | gst_tag_list_from_vorbiscomment () |
GstTagList * | gst_tag_list_from_vorbiscomment_buffer () |
GstBuffer * | gst_tag_list_to_vorbiscomment_buffer () |
Contains various utility functions for plugins to parse or create vorbiscomments and map them to and from GstTagLists.
const gchar *
gst_tag_from_vorbis_tag (const gchar *vorbis_tag
);
Looks up the GStreamer tag for a vorbiscomment tag.
const gchar *
gst_tag_to_vorbis_tag (const gchar *gst_tag
);
Looks up the vorbiscomment tag for a GStreamer tag.
void gst_vorbis_tag_add (GstTagList *list
,const gchar *tag
,const gchar *value
);
Convenience function using gst_tag_from_vorbis_tag()
, parsing
a vorbis comment string into the right type and adding it to the
given taglist list
.
Unknown vorbiscomment tags will be added to the tag list in form of a GST_TAG_EXTENDED_COMMENT.
GList * gst_tag_to_vorbis_comments (const GstTagList *list
,const gchar *tag
);
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
GstTagList * gst_tag_list_from_vorbiscomment (const guint8 *data
,gsize size
,const guint8 *id_data
,const guint id_data_length
,gchar **vendor_string
);
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
data |
data to convert. |
[array length=size] |
size |
size of |
|
id_data |
identification data at start of stream. |
[array length=id_data_length] |
id_data_length |
length of identification data |
|
vendor_string |
pointer to a string that should take the vendor string of this vorbis comment or NULL if you don't need it. |
[out][optional] |
GstTagList * gst_tag_list_from_vorbiscomment_buffer (GstBuffer *buffer
,const guint8 *id_data
,const guint id_data_length
,gchar **vendor_string
);
Creates a new tag list that contains the information parsed out of a vorbiscomment packet.
GstBuffer * gst_tag_list_to_vorbiscomment_buffer (const GstTagList *list
,const guint8 *id_data
,const guint id_data_length
,const gchar *vendor_string
);
Creates a new vorbiscomment buffer from a tag list.