gst/gsttaglist.*: Do as tim pointed out and actually register the new tag. Also impro...
[platform/upstream/gstreamer.git] / gst / gsttaglist.h
1 /* GStreamer
2  * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de>
3  *
4  * gsttaglist.h: Header for tag support
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22
23 #ifndef __GST_TAGLIST_H__
24 #define __GST_TAGLIST_H__
25
26 #include <gst/gststructure.h>
27 #include <gst/glib-compat.h>
28
29 G_BEGIN_DECLS
30
31 /**
32  * GstTagMergeMode:
33  * @GST_TAG_MERGE_UNDEFINED: undefined merge mode
34  * @GST_TAG_MERGE_REPLACE_ALL: replace all tags (clear list and append)
35  * @GST_TAG_MERGE_REPLACE: replace tags
36  * @GST_TAG_MERGE_APPEND: append tags
37  * @GST_TAG_MERGE_PREPEND: prepend tags
38  * @GST_TAG_MERGE_KEEP: keep existing tags
39  * @GST_TAG_MERGE_KEEP_ALL: keep all existing tags
40  * @GST_TAG_MERGE_COUNT: the number of merge modes
41  *
42  * The different tag merging modes are basically replace, overwrite and append,
43  * but they can be seen from two directions.  Given two taglists: (A) the tags
44  * already in the element and (B) the ones that are supplied to
45  * gst_tag_setter_merge_tags() or gst_tag_setter_add_tags(), how are these tags
46  * merged? In the table below this is shown for the cases that a tag exists in
47  * the list (A) or does not exists (!A) and combinations thereof.
48  *
49  * <table frame="all" colsep="1" rowsep="1">
50  *   <title>merge mode</title>
51  *   <tgroup cols='5' align='left'>
52  *     <thead>
53  *       <row>
54  *         <entry>merge mode</entry>
55  *         <entry>A + B</entry>
56  *         <entry>A + !B</entry>
57  *         <entry>!A + B</entry>
58  *         <entry>!A + !B</entry>
59  *       </row>
60  *     </thead>
61  *     <tbody>
62  *       <row>
63  *         <entry>REPLACE_ALL</entry>
64  *         <entry>B</entry>
65  *         <entry>-</entry>
66  *         <entry>B</entry>
67  *         <entry>-</entry>
68  *       </row>
69  *       <row>
70  *         <entry>REPLACE</entry>
71  *         <entry>B</entry>
72  *         <entry>A</entry>
73  *         <entry>B</entry>
74  *         <entry>-</entry>
75  *       </row>
76  *       <row>
77  *         <entry>APPEND</entry>
78  *         <entry>A, B</entry>
79  *         <entry>A</entry>
80  *         <entry>B</entry>
81  *         <entry>-</entry>
82  *       </row>
83  *       <row>
84  *         <entry>PREPEND</entry>
85  *         <entry>B, A</entry>
86  *         <entry>A</entry>
87  *         <entry>B</entry>
88  *         <entry>-</entry>
89  *       </row>
90  *       <row>
91  *         <entry>KEEP</entry>
92  *         <entry>A</entry>
93  *         <entry>A</entry>
94  *         <entry>B</entry>
95  *         <entry>-</entry>
96  *       </row>
97  *       <row>
98  *         <entry>KEEP_ALL</entry>
99  *         <entry>A</entry>
100  *         <entry>A</entry>
101  *         <entry>-</entry>
102  *         <entry>-</entry>
103  *       </row>
104  *     </tbody>
105  *   </tgroup>
106  * </table>
107  */
108 typedef enum {
109   GST_TAG_MERGE_UNDEFINED,
110   GST_TAG_MERGE_REPLACE_ALL,
111   GST_TAG_MERGE_REPLACE,
112   GST_TAG_MERGE_APPEND,
113   GST_TAG_MERGE_PREPEND,
114   GST_TAG_MERGE_KEEP,
115   GST_TAG_MERGE_KEEP_ALL,
116   /* add more */
117   GST_TAG_MERGE_COUNT
118 } GstTagMergeMode;
119
120 #define GST_TAG_MODE_IS_VALID(mode)     (((mode) > GST_TAG_MERGE_UNDEFINED) && ((mode) < GST_TAG_MERGE_COUNT))
121
122 /**
123  * GstTagFlag:
124  * @GST_TAG_FLAG_UNDEFINED: undefined flag
125  * @GST_TAG_FLAG_META: tag is meta data
126  * @GST_TAG_FLAG_ENCODED: tag is encoded
127  * @GST_TAG_FLAG_DECODED: tag is decoded
128  * @GST_TAG_FLAG_COUNT: number of tag flags
129  *
130  * Extra tag flags used when registering tags.
131  */
132 typedef enum {
133   GST_TAG_FLAG_UNDEFINED,
134   GST_TAG_FLAG_META,
135   GST_TAG_FLAG_ENCODED,
136   GST_TAG_FLAG_DECODED,
137   GST_TAG_FLAG_COUNT
138 } GstTagFlag;
139
140 #define GST_TAG_FLAG_IS_VALID(flag)     (((flag) > GST_TAG_FLAG_UNDEFINED) && ((flag) < GST_TAG_FLAG_COUNT))
141
142 /**
143  * GstTagList:
144  *
145  * Opaque #GstTagList data structure.
146  */
147 typedef GstStructure GstTagList;
148 #define GST_TAG_LIST(x)       ((GstTagList *) (x))
149 #define GST_IS_TAG_LIST(x)    ((x) != NULL && gst_is_tag_list (GST_TAG_LIST (x)))
150 #define GST_TYPE_TAG_LIST     (gst_tag_list_get_type ())
151
152 /**
153  * GstTagForeachFunc:
154  * @list: the #GstTagList
155  * @tag: a name of a tag in @list
156  * @user_data: user data
157  *
158  * A function that will be called in gst_tag_list_foreach(). The function may
159  * not modify the tag list.
160  */
161 typedef void (*GstTagForeachFunc) (const GstTagList * list,
162                                    const gchar      * tag,
163                                    gpointer           user_data);
164
165 /**
166  * GstTagMergeFunc:
167  * @dest: the destination #GValue
168  * @src: the source #GValue
169  *
170  * A function for merging multiple values of a tag used when registering
171  * tags.
172  */
173 typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
174
175 GType        gst_tag_list_get_type (void);
176
177 /* tag registration */
178 void         gst_tag_register      (const gchar     * name,
179                                     GstTagFlag        flag,
180                                     GType             type,
181                                     const gchar     * nick,
182                                     const gchar     * blurb,
183                                     GstTagMergeFunc   func);
184
185 /* some default merging functions */
186 void      gst_tag_merge_use_first          (GValue * dest, const GValue * src);
187 void      gst_tag_merge_strings_with_comma (GValue * dest, const GValue * src);
188
189 /* basic tag support */
190 gboolean               gst_tag_exists          (const gchar * tag);
191 GType                  gst_tag_get_type        (const gchar * tag);
192 G_CONST_RETURN gchar * gst_tag_get_nick        (const gchar * tag);
193 G_CONST_RETURN gchar * gst_tag_get_description (const gchar * tag);
194 GstTagFlag             gst_tag_get_flag        (const gchar * tag);
195 gboolean               gst_tag_is_fixed        (const gchar * tag);
196
197 /* tag lists */
198 GstTagList * gst_tag_list_new               (void);
199 gboolean     gst_is_tag_list                (gconstpointer p);
200 GstTagList * gst_tag_list_copy              (const GstTagList * list);
201 gboolean     gst_tag_list_is_empty          (const GstTagList * list);
202 void         gst_tag_list_insert            (GstTagList       * into,
203                                              const GstTagList * from,
204                                              GstTagMergeMode    mode);
205 GstTagList * gst_tag_list_merge             (const GstTagList * list1,
206                                              const GstTagList * list2,
207                                              GstTagMergeMode    mode);
208 void         gst_tag_list_free              (GstTagList       * list);
209 guint        gst_tag_list_get_tag_size      (const GstTagList * list,
210                                              const gchar      * tag);
211 void         gst_tag_list_add               (GstTagList       * list,
212                                              GstTagMergeMode    mode,
213                                              const gchar      * tag,
214                                              ...) G_GNUC_NULL_TERMINATED;
215 void         gst_tag_list_add_values        (GstTagList       * list,
216                                              GstTagMergeMode    mode,
217                                              const gchar      * tag,
218                                              ...) G_GNUC_NULL_TERMINATED;
219 void         gst_tag_list_add_valist        (GstTagList       * list,
220                                              GstTagMergeMode    mode,
221                                              const gchar      * tag,
222                                              va_list        var_args);
223 void         gst_tag_list_add_valist_values (GstTagList       * list,
224                                              GstTagMergeMode    mode,
225                                              const gchar      * tag,
226                                              va_list            var_args);
227 void         gst_tag_list_remove_tag        (GstTagList       * list,
228                                              const gchar      * tag);
229 void         gst_tag_list_foreach           (const GstTagList * list,
230                                              GstTagForeachFunc  func,
231                                              gpointer           user_data);
232
233 G_CONST_RETURN GValue *
234              gst_tag_list_get_value_index   (const GstTagList * list,
235                                              const gchar      * tag,
236                                              guint              index);
237 gboolean     gst_tag_list_copy_value        (GValue           * dest,
238                                              const GstTagList * list,
239                                              const gchar      * tag);
240
241 /* simplifications (FIXME: do we want them?) */
242 gboolean     gst_tag_list_get_char          (const GstTagList * list,
243                                              const gchar      * tag,
244                                              gchar            * value);
245 gboolean     gst_tag_list_get_char_index    (const GstTagList * list,
246                                              const gchar      * tag,
247                                              guint              index,
248                                              gchar            * value);
249 gboolean     gst_tag_list_get_uchar         (const GstTagList * list,
250                                              const gchar      * tag,
251                                              guchar           * value);
252 gboolean     gst_tag_list_get_uchar_index   (const GstTagList * list,
253                                              const gchar      * tag,
254                                              guint              index,
255                                              guchar           * value);
256 gboolean     gst_tag_list_get_boolean       (const GstTagList * list,
257                                              const gchar      * tag,
258                                              gboolean         * value);
259 gboolean     gst_tag_list_get_boolean_index (const GstTagList * list,
260                                              const gchar      * tag,
261                                              guint              index,
262                                              gboolean         * value);
263 gboolean     gst_tag_list_get_int           (const GstTagList * list,
264                                              const gchar      * tag,
265                                              gint             * value);
266 gboolean     gst_tag_list_get_int_index     (const GstTagList * list,
267                                              const gchar      * tag,
268                                              guint              index,
269                                              gint             * value);
270 gboolean     gst_tag_list_get_uint          (const GstTagList * list,
271                                              const gchar      * tag,
272                                              guint            * value);
273 gboolean     gst_tag_list_get_uint_index    (const GstTagList * list,
274                                              const gchar      * tag,
275                                              guint              index,
276                                              guint            * value);
277 gboolean     gst_tag_list_get_long          (const GstTagList * list,
278                                              const gchar      * tag,
279                                              glong            * value);
280 gboolean     gst_tag_list_get_long_index    (const GstTagList * list,
281                                              const gchar      * tag,
282                                              guint              index,
283                                              glong            * value);
284 gboolean     gst_tag_list_get_ulong         (const GstTagList * list,
285                                              const gchar      * tag,
286                                              gulong           * value);
287 gboolean     gst_tag_list_get_ulong_index   (const GstTagList * list,
288                                              const gchar      * tag,
289                                              guint              index,
290                                              gulong           * value);
291 gboolean     gst_tag_list_get_int64         (const GstTagList * list,
292                                              const gchar      * tag,
293                                              gint64           * value);
294 gboolean     gst_tag_list_get_int64_index   (const GstTagList * list,
295                                              const gchar      * tag,
296                                              guint              index,
297                                              gint64           * value);
298 gboolean     gst_tag_list_get_uint64        (const GstTagList * list,
299                                              const gchar      * tag,
300                                              guint64          * value);
301 gboolean     gst_tag_list_get_uint64_index  (const GstTagList * list,
302                                              const gchar      * tag,
303                                              guint              index,
304                                              guint64          * value);
305 gboolean     gst_tag_list_get_float         (const GstTagList * list,
306                                              const gchar      * tag,
307                                              gfloat           * value);
308 gboolean     gst_tag_list_get_float_index   (const GstTagList * list,
309                                              const gchar      * tag,
310                                              guint              index,
311                                              gfloat           * value);
312 gboolean     gst_tag_list_get_double        (const GstTagList * list,
313                                              const gchar      * tag,
314                                              gdouble          * value);
315 gboolean     gst_tag_list_get_double_index  (const GstTagList * list,
316                                              const gchar      * tag,
317                                              guint              index,
318                                              gdouble          * value);
319 gboolean     gst_tag_list_get_string        (const GstTagList * list,
320                                              const gchar      * tag,
321                                              gchar           ** value);
322 gboolean     gst_tag_list_get_string_index  (const GstTagList * list,
323                                              const gchar      * tag,
324                                              guint              index,
325                                              gchar           ** value);
326 gboolean     gst_tag_list_get_pointer       (const GstTagList * list,
327                                              const gchar      * tag,
328                                              gpointer         * value);
329 gboolean     gst_tag_list_get_pointer_index (const GstTagList * list,
330                                              const gchar      * tag,
331                                              guint              index,
332                                              gpointer         * value);
333 gboolean     gst_tag_list_get_date          (const GstTagList * list,
334                                              const gchar      * tag,
335                                              GDate           ** value);
336 gboolean     gst_tag_list_get_date_index    (const GstTagList * list,
337                                              const gchar      * tag,
338                                              guint              index,
339                                              GDate           ** value);
340
341 /* GStreamer core tags */
342 /**
343  * GST_TAG_TITLE:
344  *
345  * commonly used title (string)
346  *
347  * The title as it should be displayed, e.g. 'The Doll House'
348  */
349 #define GST_TAG_TITLE                  "title"
350 /**
351  * GST_TAG_TITLE_SORTNAME:
352  *
353  * commonly used title, as used for sorting (string)
354  *
355  * The title as it should be sorted, e.g. 'Doll House, The'
356  *
357  * Since: 0.10.15
358  */
359 #define GST_TAG_TITLE_SORTNAME         "title-sortname"
360 /**
361  * GST_TAG_ARTIST:
362  *
363  * person(s) responsible for the recording (string)
364  *
365  * The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
366  * 'The Guitar Heroes'
367  */
368 #define GST_TAG_ARTIST                 "artist"
369 /**
370  * GST_TAG_ARTIST_SORTNAME:
371  *
372  * person(s) responsible for the recording, as used for sorting (string)
373  *
374  * The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
375  * 'Guitar Heroes, The'
376  *
377  * Since: 0.10.15
378  */
379 /* FIXME 0.11: change to "artist-sortname" */
380 #define GST_TAG_ARTIST_SORTNAME        "musicbrainz-sortname"
381 /**
382  * GST_TAG_ALBUM:
383  *
384  * album containing this data (string)
385  *
386  * The album name as it should be displayed, e.g. 'The Jazz Guitar'
387  */
388 #define GST_TAG_ALBUM                  "album"
389 /**
390  * GST_TAG_ALBUM_SORTNAME:
391  *
392  * album containing this data, as used for sorting (string)
393  *
394  * The album name as it should be sorted, e.g. 'Jazz Guitar, The'
395  *
396  * Since: 0.10.15
397  */
398 #define GST_TAG_ALBUM_SORTNAME         "album-sortname"
399 /**
400  * GST_TAG_COMPOSER:
401  *
402  * person(s) who composed the recording (string)
403  *
404  * Since: 0.10.15
405  */
406 #define GST_TAG_COMPOSER               "composer"
407 /**
408  * GST_TAG_DATE:
409  *
410  * date the data was created (#GDate structure)
411  */
412 #define GST_TAG_DATE                   "date"
413 /**
414  * GST_TAG_GENRE:
415  *
416  * genre this data belongs to (string)
417  */
418 #define GST_TAG_GENRE                  "genre"
419 /**
420  * GST_TAG_COMMENT:
421  *
422  * free text commenting the data (string)
423  */
424 #define GST_TAG_COMMENT                "comment"
425 /**
426  * GST_TAG_EXTENDED_COMMENT:
427  *
428  * key/value text commenting the data (string)
429  *
430  * Must be in the form of 'key=comment' or
431  * 'key[lc]=comment' where 'lc' is an ISO-639
432  * language code.
433  *
434  * This tag is used for unknown Vorbis comment tags,
435  * unknown APE tags and certain ID3v2 comment fields.
436  *
437  * Since: 0.10.10
438  */
439 #define GST_TAG_EXTENDED_COMMENT       "extended-comment"
440 /**
441  * GST_TAG_TRACK_NUMBER:
442  *
443  * track number inside a collection (unsigned integer)
444  */
445 #define GST_TAG_TRACK_NUMBER           "track-number"
446 /**
447  * GST_TAG_TRACK_COUNT:
448  *
449  * count of tracks inside collection this track belongs to (unsigned integer)
450  */
451 #define GST_TAG_TRACK_COUNT            "track-count"
452 /**
453  * GST_TAG_ALBUM_VOLUME_NUMBER:
454  *
455  * disc number inside a collection (unsigned integer)
456  */
457 #define GST_TAG_ALBUM_VOLUME_NUMBER    "album-disc-number"
458 /**
459  * GST_TAG_ALBUM_VOLUME_COUNT:
460  *
461  * count of discs inside collection this disc belongs to (unsigned integer)
462  */
463 #define GST_TAG_ALBUM_VOLUME_COUNT    "album-disc-count"
464 /**
465  * GST_TAG_LOCATION:
466  *
467  * original location of file as a URI (string)
468  */
469 #define GST_TAG_LOCATION               "location"
470 /**
471  * GST_TAG_DESCRIPTION:
472  *
473  * short text describing the content of the data (string)
474  */
475 #define GST_TAG_DESCRIPTION            "description"
476 /**
477  * GST_TAG_VERSION:
478  *
479  * version of this data (string)
480  */
481 #define GST_TAG_VERSION                "version"
482 /**
483  * GST_TAG_ISRC:
484  *
485  * International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)
486  */
487 #define GST_TAG_ISRC                   "isrc"
488 /**
489  * GST_TAG_ORGANIZATION:
490  *
491  * organization (string)
492  */
493 #define GST_TAG_ORGANIZATION           "organization"
494 /**
495  * GST_TAG_COPYRIGHT:
496  *
497  * copyright notice of the data (string)
498  */
499 #define GST_TAG_COPYRIGHT              "copyright"
500 /**
501  * GST_TAG_COPYRIGHT_URI:
502  *
503  * URI to location where copyright details can be found (string)
504  *
505  * Since: 0.10.14
506  */
507 #define GST_TAG_COPYRIGHT_URI          "copyright-uri"
508 /**
509  * GST_TAG_CONTACT:
510  *
511  * contact information (string)
512  */
513 #define GST_TAG_CONTACT                "contact"
514 /**
515  * GST_TAG_LICENSE:
516  *
517  * license of data (string)
518  */
519 #define GST_TAG_LICENSE                "license"
520 /**
521  * GST_TAG_LICENSE_URI:
522  *
523  * URI to location where license details can be found (string)
524  *
525  * Since: 0.10.14
526  */
527 #define GST_TAG_LICENSE_URI            "license-uri"
528 /**
529  * GST_TAG_PERFORMER:
530  *
531  * person(s) performing (string)
532  */
533 #define GST_TAG_PERFORMER              "performer"
534 /**
535  * GST_TAG_DURATION:
536  *
537  * length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)
538  */
539 #define GST_TAG_DURATION               "duration"
540 /**
541  * GST_TAG_CODEC:
542  *
543  * codec the data is stored in (string)
544  */
545 #define GST_TAG_CODEC                  "codec"
546 /**
547  * GST_TAG_VIDEO_CODEC:
548  *
549  * codec the video data is stored in (string)
550  */
551 #define GST_TAG_VIDEO_CODEC            "video-codec"
552 /**
553  * GST_TAG_AUDIO_CODEC:
554  *
555  * codec the audio data is stored in (string)
556  */
557 #define GST_TAG_AUDIO_CODEC            "audio-codec"
558 /**
559  * GST_TAG_BITRATE:
560  *
561  * exact or average bitrate in bits/s (unsigned integer)
562  */
563 #define GST_TAG_BITRATE                "bitrate"
564 /**
565  * GST_TAG_NOMINAL_BITRATE:
566  *
567  * nominal bitrate in bits/s (unsigned integer)
568  */
569 #define GST_TAG_NOMINAL_BITRATE        "nominal-bitrate"
570 /**
571  * GST_TAG_MINIMUM_BITRATE:
572  *
573  * minimum bitrate in bits/s (unsigned integer)
574  */
575 #define GST_TAG_MINIMUM_BITRATE        "minimum-bitrate"
576 /**
577  * GST_TAG_MAXIMUM_BITRATE:
578  *
579  * maximum bitrate in bits/s (unsigned integer)
580  */
581 #define GST_TAG_MAXIMUM_BITRATE        "maximum-bitrate"
582 /**
583  * GST_TAG_SERIAL:
584  *
585  * serial number of track (unsigned integer)
586  */
587 #define GST_TAG_SERIAL                 "serial"
588 /**
589  * GST_TAG_ENCODER:
590  *
591  * encoder used to encode this stream (string)
592  */
593 #define GST_TAG_ENCODER                "encoder"
594 /**
595  * GST_TAG_ENCODER_VERSION:
596  *
597  * version of the encoder used to encode this stream (unsigned integer)
598  */
599 #define GST_TAG_ENCODER_VERSION        "encoder-version"
600 /**
601  * GST_TAG_TRACK_GAIN:
602  *
603  * track gain in db (double)
604  */
605 #define GST_TAG_TRACK_GAIN             "replaygain-track-gain"
606 /**
607  * GST_TAG_TRACK_PEAK:
608  *
609  * peak of the track (double)
610  */
611 #define GST_TAG_TRACK_PEAK             "replaygain-track-peak"
612 /**
613  * GST_TAG_ALBUM_GAIN:
614  *
615  * album gain in db (double)
616  */
617 #define GST_TAG_ALBUM_GAIN             "replaygain-album-gain"
618 /**
619  * GST_TAG_ALBUM_PEAK:
620  *
621  * peak of the album (double)
622  */
623 #define GST_TAG_ALBUM_PEAK             "replaygain-album-peak"
624 /**
625  * GST_TAG_REFERENCE_LEVEL:
626  *
627  * reference level of track and album gain values (double)
628  *
629  * Since: 0.10.12
630  */
631 #define GST_TAG_REFERENCE_LEVEL        "replaygain-reference-level"
632 /**
633  * GST_TAG_LANGUAGE_CODE:
634  *
635  * Language code (ISO-639-1) (string) of the content
636  */
637 #define GST_TAG_LANGUAGE_CODE          "language-code"
638 /**
639  * GST_TAG_IMAGE:
640  *
641  * image (buffer) (buffer caps should specify the content type and preferably
642  * also set "image-type" field as #GstTagImageType)
643  *
644  * Since: 0.10.6
645  */
646 #define GST_TAG_IMAGE                  "image"
647 /**
648  * GST_TAG_PREVIEW_IMAGE:
649  *
650  * image that is meant for preview purposes, e.g. small icon-sized version
651  * (buffer) (buffer caps should specify the content type)
652  *
653  * Since: 0.10.7
654  */
655 #define GST_TAG_PREVIEW_IMAGE          "preview-image"
656
657 /**
658  * GST_TAG_ATTACHMENT:
659  *
660  * generic file attachment (buffer) (buffer caps should specify the content
661  * type and if possible set "filename" to the file name of the
662  * attachment)
663  *
664  * Since: 0.10.21
665  */
666 #define GST_TAG_ATTACHMENT             "attachment"
667
668 /**
669  * GST_TAG_BEATS_PER_MINUTE:
670  *
671  * number of beats per minute in audio (double)
672  *
673  * Since: 0.10.12
674  */
675 #define GST_TAG_BEATS_PER_MINUTE       "beats-per-minute"
676
677 /**
678  * GST_TAG_KEYWORDS:
679  *
680  * comma separated keywords describing the content (string).
681  *
682  * Since: 0.10.21
683  */
684 #define GST_TAG_KEYWORDS               "keywords"
685
686 G_END_DECLS
687
688 #endif /* __GST_TAGLIST_H__ */