gst/gsttaglist.*: Do as tim pointed out and actually register the new tag. Also improve te docs and use gst_tag_merge...

Original commit message from CVS:
* gst/gsttaglist.c:
* gst/gsttaglist.h:
Do as tim pointed out and actually register the new tag. Also improve
te docs and use gst_tag_merge_strings_with_comma() method to allow
retriving all keywords merged in one list.
This commit is contained in:
Stefan Kost 2008-08-04 12:30:26 +00:00
parent df29b0ed39
commit 8e729fc6a2
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,11 @@
2008-08-04 Stefan Kost <ensonic@users.sf.net>
* gst/gsttaglist.c:
* gst/gsttaglist.h:
Do as tim pointed out and actually register the new tag. Also improve
te docs and use gst_tag_merge_strings_with_comma() method to allow
retriving all keywords merged in one list.
2008-08-01 Stefan Kost <ensonic@users.sf.net> 2008-08-01 Stefan Kost <ensonic@users.sf.net>
* configure.ac: * configure.ac:

View file

@ -245,7 +245,9 @@ _gst_tag_initialize (void)
gst_tag_merge_use_first); gst_tag_merge_use_first);
gst_tag_register (GST_TAG_BEATS_PER_MINUTE, GST_TAG_FLAG_META, G_TYPE_DOUBLE, gst_tag_register (GST_TAG_BEATS_PER_MINUTE, GST_TAG_FLAG_META, G_TYPE_DOUBLE,
_("beats per minute"), _("number of beats per minute in audio"), NULL); _("beats per minute"), _("number of beats per minute in audio"), NULL);
gst_tag_register (GST_TAG_KEYWORDS, GST_TAG_FLAG_META, G_TYPE_STRING,
_("keywords"), _("comma separated keywords describing the content"),
NULL);
} }
/** /**

View file

@ -677,7 +677,7 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list,
/** /**
* GST_TAG_KEYWORDS: * GST_TAG_KEYWORDS:
* *
* series of keywords describing the content (string). * comma separated keywords describing the content (string).
* *
* Since: 0.10.21 * Since: 0.10.21
*/ */