add tag support for beat-per-minute
authorStefan Kost <ensonic@users.sourceforge.net>
Mon, 15 Jan 2007 13:57:12 +0000 (13:57 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Mon, 15 Jan 2007 13:57:12 +0000 (13:57 +0000)
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
add tag support for beat-per-minute

ChangeLog
docs/gst/gstreamer-sections.txt
gst/gsttaglist.c
gst/gsttaglist.h

index 4d8dd91..473d75c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
 
+       * docs/gst/gstreamer-sections.txt:
+       * gst/gsttaglist.c: (_gst_tag_initialize):
+       * gst/gsttaglist.h:
+         add tag support for beat-per-minute
+
+2007-01-15  Stefan Kost  <ensonic@users.sf.net>
+
        * gst/gstregistrybinary.c: (gst_registry_binary_write),
        (gst_registry_binary_initialize_magic),
        (gst_registry_binary_save_string), (gst_registry_binary_make_data),
index defbdfa..10ce55a 100644 (file)
@@ -1616,7 +1616,7 @@ gst_query_new_segment
 gst_query_set_segment
 gst_query_parse_segment
 
-<SUBSECTION Standard>
+SUBSECTION Standard>
 GstQueryClass
 GST_QUERY
 GST_IS_QUERY
@@ -1827,6 +1827,7 @@ GST_TAG_ALBUM_PEAK
 GST_TAG_LANGUAGE_CODE
 GST_TAG_IMAGE
 GST_TAG_PREVIEW_IMAGE
+GST_TAG_BEATS_PER_MINUTE
 
 gst_tag_register
 gst_tag_merge_use_first
index 31822ab..35d0537 100644 (file)
@@ -213,6 +213,9 @@ _gst_tag_initialize (void)
       _("image"), _("image related to this stream"), gst_tag_merge_use_first);
   gst_tag_register (GST_TAG_PREVIEW_IMAGE, GST_TAG_FLAG_META, GST_TYPE_BUFFER,
       _("preview image"), _("preview image related to this stream"), NULL);
+  gst_tag_register (GST_TAG_BEATS_PER_MINUTE, GST_TAG_FLAG_META, G_TYPE_STRING,
+      _("beats per minute"), _("number of beats per minute in audio"), NULL);
+
 }
 
 /**
index b059c91..7e90cc9 100644 (file)
@@ -518,6 +518,14 @@ gboolean     gst_tag_list_get_date_index    (const GstTagList * list,
  * Since: 0.10.7
  */
 #define GST_TAG_PREVIEW_IMAGE          "preview-image"
+/**
+ * GST_TAG_BEATS_PER_MINUTE:
+ *
+ * number of beats per minute in audio
+ *
+ * Since: 0.10.11
+ */
+#define GST_TAG_BEATS_PER_MINUTE       "beats-per-minute"
 
 G_END_DECLS