From 8e729fc6a2f3a6088653f91116e595e1dc78d84b Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 4 Aug 2008 12:30:26 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ gst/gsttaglist.c | 4 +++- gst/gsttaglist.h | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ae341f742..650481db14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-08-04 Stefan Kost + + * 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 * configure.ac: diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 870a300ce1..f8ca29b8a9 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -245,7 +245,9 @@ _gst_tag_initialize (void) gst_tag_merge_use_first); 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); - + gst_tag_register (GST_TAG_KEYWORDS, GST_TAG_FLAG_META, G_TYPE_STRING, + _("keywords"), _("comma separated keywords describing the content"), + NULL); } /** diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 3af5097d07..41afea1e54 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -677,7 +677,7 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list, /** * GST_TAG_KEYWORDS: * - * series of keywords describing the content (string). + * comma separated keywords describing the content (string). * * Since: 0.10.21 */