![]() | ![]() | ![]() | GStreamer Base Plugins 0.10 Library Reference Manual | ![]() |
---|
gsttagvorbisgsttagvorbis — |
#include <gst/tag/tag.h> const gchar* gst_tag_from_vorbis_tag (const gchar *vorbis_tag); const gchar* gst_tag_to_vorbis_tag (const gchar *gst_tag); void gst_vorbis_tag_add (GstTagList *list, const gchar *tag, const gchar *value); GList* gst_tag_to_vorbis_comments (const GstTagList *list, const gchar *tag); GstTagList* gst_tag_list_from_vorbiscomment_buffer (const GstBuffer *buffer, const guint8 *id_data, const guint id_data_length, gchar **vendor_string); GstBuffer* gst_tag_list_to_vorbiscomment_buffer (const GstTagList *list, const guint8 *id_data, const guint id_data_length, const gchar *vendor_string);
const gchar* gst_tag_from_vorbis_tag (const gchar *vorbis_tag);
Looks up the GStreamer tag for a vorbiscommment tag.
vorbis_tag : | vorbiscomment tag to convert to GStreamer tag |
Returns : | The corresponding GStreamer tag or NULL if none exists. |
const gchar* gst_tag_to_vorbis_tag (const gchar *gst_tag);
Looks up the vorbiscommment tag for a GStreamer tag.
gst_tag : | GStreamer tag to convert to vorbiscomment tag |
Returns : | The corresponding vorbiscommment tag or NULL if none exists. |
void gst_vorbis_tag_add (GstTagList *list, const gchar *tag, const gchar *value);
list : | |
tag : | |
value : |
GList* gst_tag_to_vorbis_comments (const GstTagList *list, const gchar *tag);
list : | |
tag : | |
Returns : |
GstTagList* gst_tag_list_from_vorbiscomment_buffer (const 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.
buffer : | buffer to convert |
id_data : | identification data at start of stream |
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. |
Returns : | A new GstTagList with all tags that could be extracted from the given vorbiscomment buffer or NULL on error. |
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.
list : | tag list to convert |
id_data : | identification data at start of stream |
id_data_length : | length of identification data |
vendor_string : | string that describes the vendor string or NULL |
Returns : | A new GstBuffer containing a vorbiscomment buffer with all tags that could be converted from the given tag list. |
<< gsttag | gsttagid3 >> |