mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
add tag support for beat-per-minute
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
This commit is contained in:
parent
616cb1862a
commit
0e96e3d727
4 changed files with 20 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
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),
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue