2 * Copyright (C) 2003 Benjamin Otte <in7y118@public.uni-hamburg.de>
4 * gsttaglist.h: Header for tag support
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.
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.
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.
23 #ifndef __GST_TAGLIST_H__
24 #define __GST_TAGLIST_H__
26 #include <gst/gstdatetime.h>
27 #include <gst/gstsample.h>
28 #include <gst/gstbuffer.h>
29 #include <gst/glib-compat.h>
35 * @GST_TAG_MERGE_UNDEFINED: undefined merge mode
36 * @GST_TAG_MERGE_REPLACE_ALL: replace all tags (clear list and append)
37 * @GST_TAG_MERGE_REPLACE: replace tags
38 * @GST_TAG_MERGE_APPEND: append tags
39 * @GST_TAG_MERGE_PREPEND: prepend tags
40 * @GST_TAG_MERGE_KEEP: keep existing tags
41 * @GST_TAG_MERGE_KEEP_ALL: keep all existing tags
42 * @GST_TAG_MERGE_COUNT: the number of merge modes
44 * The different tag merging modes are basically replace, overwrite and append,
45 * but they can be seen from two directions. Given two taglists: (A) the tags
46 * already in the element and (B) the ones that are supplied to the element (
47 * e.g. via gst_tag_setter_merge_tags() / gst_tag_setter_add_tags() or a
48 * %GST_EVENT_TAG), how are these tags merged?
49 * In the table below this is shown for the cases that a tag exists in the list
50 * (A) or does not exists (!A) and combinations thereof.
52 * <table frame="all" colsep="1" rowsep="1">
53 * <title>merge mode</title>
54 * <tgroup cols='5' align='left'>
57 * <entry>merge mode</entry>
58 * <entry>A + B</entry>
59 * <entry>A + !B</entry>
60 * <entry>!A + B</entry>
61 * <entry>!A + !B</entry>
66 * <entry>REPLACE_ALL</entry>
73 * <entry>REPLACE</entry>
80 * <entry>APPEND</entry>
87 * <entry>PREPEND</entry>
101 * <entry>KEEP_ALL</entry>
112 GST_TAG_MERGE_UNDEFINED,
113 GST_TAG_MERGE_REPLACE_ALL,
114 GST_TAG_MERGE_REPLACE,
115 GST_TAG_MERGE_APPEND,
116 GST_TAG_MERGE_PREPEND,
118 GST_TAG_MERGE_KEEP_ALL,
123 #define GST_TAG_MODE_IS_VALID(mode) (((mode) > GST_TAG_MERGE_UNDEFINED) && ((mode) < GST_TAG_MERGE_COUNT))
127 * @GST_TAG_FLAG_UNDEFINED: undefined flag
128 * @GST_TAG_FLAG_META: tag is meta data
129 * @GST_TAG_FLAG_ENCODED: tag is encoded
130 * @GST_TAG_FLAG_DECODED: tag is decoded
131 * @GST_TAG_FLAG_COUNT: number of tag flags
133 * Extra tag flags used when registering tags.
136 GST_TAG_FLAG_UNDEFINED,
138 GST_TAG_FLAG_ENCODED,
139 GST_TAG_FLAG_DECODED,
143 #define GST_TAG_FLAG_IS_VALID(flag) (((flag) > GST_TAG_FLAG_UNDEFINED) && ((flag) < GST_TAG_FLAG_COUNT))
148 * Opaque #GstTagList data structure.
150 typedef struct _GstTagList GstTagList;
152 #define GST_TAG_LIST(x) ((GstTagList *) (x))
153 #define GST_IS_TAG_LIST(x) ((x) != NULL && gst_is_tag_list (GST_TAG_LIST (x)))
154 #define GST_TYPE_TAG_LIST (gst_tag_list_get_type ())
158 * @list: the #GstTagList
159 * @tag: a name of a tag in @list
160 * @user_data: user data
162 * A function that will be called in gst_tag_list_foreach(). The function may
163 * not modify the tag list.
165 typedef void (*GstTagForeachFunc) (const GstTagList * list,
171 * @dest: the destination #GValue
172 * @src: the source #GValue
174 * A function for merging multiple values of a tag used when registering
177 typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
179 GType gst_tag_list_get_type (void);
181 /* tag registration */
182 void gst_tag_register (const gchar * name,
187 GstTagMergeFunc func);
189 /* some default merging functions */
190 void gst_tag_merge_use_first (GValue * dest, const GValue * src);
191 void gst_tag_merge_strings_with_comma (GValue * dest, const GValue * src);
193 /* basic tag support */
194 gboolean gst_tag_exists (const gchar * tag);
195 GType gst_tag_get_type (const gchar * tag);
196 const gchar * gst_tag_get_nick (const gchar * tag);
197 const gchar * gst_tag_get_description (const gchar * tag);
198 GstTagFlag gst_tag_get_flag (const gchar * tag);
199 gboolean gst_tag_is_fixed (const gchar * tag);
202 GstTagList * gst_tag_list_new_empty (void) G_GNUC_MALLOC;
203 GstTagList * gst_tag_list_new (const gchar * tag, ...) G_GNUC_MALLOC;
204 GstTagList * gst_tag_list_new_valist (va_list var_args) G_GNUC_MALLOC;
206 gchar * gst_tag_list_to_string (const GstTagList * list) G_GNUC_MALLOC;
207 GstTagList * gst_tag_list_new_from_string (const gchar * str) G_GNUC_MALLOC;
209 gboolean gst_is_tag_list (gconstpointer p);
210 GstTagList * gst_tag_list_copy (const GstTagList * list) G_GNUC_MALLOC;
211 gint gst_tag_list_n_tags (const GstTagList * list);
212 const gchar* gst_tag_list_nth_tag_name (const GstTagList * list, guint index);
213 gboolean gst_tag_list_is_empty (const GstTagList * list);
214 gboolean gst_tag_list_is_equal (const GstTagList * list1,
215 const GstTagList * list2);
216 void gst_tag_list_insert (GstTagList * into,
217 const GstTagList * from,
218 GstTagMergeMode mode);
219 GstTagList * gst_tag_list_merge (const GstTagList * list1,
220 const GstTagList * list2,
221 GstTagMergeMode mode) G_GNUC_MALLOC;
222 void gst_tag_list_free (GstTagList * list);
223 guint gst_tag_list_get_tag_size (const GstTagList * list,
225 void gst_tag_list_add (GstTagList * list,
226 GstTagMergeMode mode,
228 ...) G_GNUC_NULL_TERMINATED;
229 void gst_tag_list_add_values (GstTagList * list,
230 GstTagMergeMode mode,
232 ...) G_GNUC_NULL_TERMINATED;
233 void gst_tag_list_add_valist (GstTagList * list,
234 GstTagMergeMode mode,
237 void gst_tag_list_add_valist_values (GstTagList * list,
238 GstTagMergeMode mode,
241 void gst_tag_list_add_value (GstTagList * list,
242 GstTagMergeMode mode,
244 const GValue * value);
245 void gst_tag_list_remove_tag (GstTagList * list,
247 void gst_tag_list_foreach (const GstTagList * list,
248 GstTagForeachFunc func,
252 gst_tag_list_get_value_index (const GstTagList * list,
255 gboolean gst_tag_list_copy_value (GValue * dest,
256 const GstTagList * list,
259 /* simplifications (FIXME: do we want them?) */
260 gboolean gst_tag_list_get_boolean (const GstTagList * list,
263 gboolean gst_tag_list_get_boolean_index (const GstTagList * list,
267 gboolean gst_tag_list_get_int (const GstTagList * list,
270 gboolean gst_tag_list_get_int_index (const GstTagList * list,
274 gboolean gst_tag_list_get_uint (const GstTagList * list,
277 gboolean gst_tag_list_get_uint_index (const GstTagList * list,
281 gboolean gst_tag_list_get_int64 (const GstTagList * list,
284 gboolean gst_tag_list_get_int64_index (const GstTagList * list,
288 gboolean gst_tag_list_get_uint64 (const GstTagList * list,
291 gboolean gst_tag_list_get_uint64_index (const GstTagList * list,
295 gboolean gst_tag_list_get_float (const GstTagList * list,
298 gboolean gst_tag_list_get_float_index (const GstTagList * list,
302 gboolean gst_tag_list_get_double (const GstTagList * list,
305 gboolean gst_tag_list_get_double_index (const GstTagList * list,
309 gboolean gst_tag_list_get_string (const GstTagList * list,
312 gboolean gst_tag_list_get_string_index (const GstTagList * list,
316 gboolean gst_tag_list_peek_string_index (const GstTagList * list,
319 const gchar ** value);
320 gboolean gst_tag_list_get_pointer (const GstTagList * list,
323 gboolean gst_tag_list_get_pointer_index (const GstTagList * list,
327 gboolean gst_tag_list_get_date (const GstTagList * list,
330 gboolean gst_tag_list_get_date_index (const GstTagList * list,
334 gboolean gst_tag_list_get_date_time (const GstTagList * list,
336 GstDateTime ** value);
337 gboolean gst_tag_list_get_date_time_index (const GstTagList * list,
340 GstDateTime ** value);
341 gboolean gst_tag_list_get_buffer (const GstTagList * list,
344 gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
349 /* GStreamer core tags */
353 * commonly used title (string)
355 * The title as it should be displayed, e.g. 'The Doll House'
357 #define GST_TAG_TITLE "title"
359 * GST_TAG_TITLE_SORTNAME:
361 * commonly used title, as used for sorting (string)
363 * The title as it should be sorted, e.g. 'Doll House, The'
367 #define GST_TAG_TITLE_SORTNAME "title-sortname"
371 * person(s) responsible for the recording (string)
373 * The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
374 * 'The Guitar Heroes'
376 #define GST_TAG_ARTIST "artist"
378 * GST_TAG_ARTIST_SORTNAME:
380 * person(s) responsible for the recording, as used for sorting (string)
382 * The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
383 * 'Guitar Heroes, The'
387 #define GST_TAG_ARTIST_SORTNAME "artist-sortname"
391 * album containing this data (string)
393 * The album name as it should be displayed, e.g. 'The Jazz Guitar'
395 #define GST_TAG_ALBUM "album"
397 * GST_TAG_ALBUM_SORTNAME:
399 * album containing this data, as used for sorting (string)
401 * The album name as it should be sorted, e.g. 'Jazz Guitar, The'
405 #define GST_TAG_ALBUM_SORTNAME "album-sortname"
407 * GST_TAG_ALBUM_ARTIST:
409 * The artist of the entire album, as it should be displayed.
413 #define GST_TAG_ALBUM_ARTIST "album-artist"
415 * GST_TAG_ALBUM_ARTIST_SORTNAME:
417 * The artist of the entire album, as it should be sorted.
421 #define GST_TAG_ALBUM_ARTIST_SORTNAME "album-artist-sortname"
425 * person(s) who composed the recording (string)
429 #define GST_TAG_COMPOSER "composer"
433 * date the data was created (#GDate structure)
435 #define GST_TAG_DATE "date"
439 * date and time the data was created (#GstDateTime structure)
443 #define GST_TAG_DATE_TIME "datetime"
447 * genre this data belongs to (string)
449 #define GST_TAG_GENRE "genre"
453 * free text commenting the data (string)
455 #define GST_TAG_COMMENT "comment"
457 * GST_TAG_EXTENDED_COMMENT:
459 * key/value text commenting the data (string)
461 * Must be in the form of 'key=comment' or
462 * 'key[lc]=comment' where 'lc' is an ISO-639
465 * This tag is used for unknown Vorbis comment tags,
466 * unknown APE tags and certain ID3v2 comment fields.
470 #define GST_TAG_EXTENDED_COMMENT "extended-comment"
472 * GST_TAG_TRACK_NUMBER:
474 * track number inside a collection (unsigned integer)
476 #define GST_TAG_TRACK_NUMBER "track-number"
478 * GST_TAG_TRACK_COUNT:
480 * count of tracks inside collection this track belongs to (unsigned integer)
482 #define GST_TAG_TRACK_COUNT "track-count"
484 * GST_TAG_ALBUM_VOLUME_NUMBER:
486 * disc number inside a collection (unsigned integer)
488 #define GST_TAG_ALBUM_VOLUME_NUMBER "album-disc-number"
490 * GST_TAG_ALBUM_VOLUME_COUNT:
492 * count of discs inside collection this disc belongs to (unsigned integer)
494 #define GST_TAG_ALBUM_VOLUME_COUNT "album-disc-count"
498 * Origin of media as a URI (location, where the original of the file or stream
499 * is hosted) (string)
501 #define GST_TAG_LOCATION "location"
505 * Homepage for this media (i.e. artist or movie homepage) (string)
509 #define GST_TAG_HOMEPAGE "homepage"
511 * GST_TAG_DESCRIPTION:
513 * short text describing the content of the data (string)
515 #define GST_TAG_DESCRIPTION "description"
519 * version of this data (string)
521 #define GST_TAG_VERSION "version"
525 * International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)
527 #define GST_TAG_ISRC "isrc"
529 * GST_TAG_ORGANIZATION:
531 * organization (string)
533 #define GST_TAG_ORGANIZATION "organization"
537 * copyright notice of the data (string)
539 #define GST_TAG_COPYRIGHT "copyright"
541 * GST_TAG_COPYRIGHT_URI:
543 * URI to location where copyright details can be found (string)
547 #define GST_TAG_COPYRIGHT_URI "copyright-uri"
549 * GST_TAG_ENCODED_BY:
551 * name of the person or organisation that encoded the file. May contain a
552 * copyright message if the person or organisation also holds the copyright
555 * Note: do not use this field to describe the encoding application. Use
556 * #GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.
560 #define GST_TAG_ENCODED_BY "encoded-by"
564 * contact information (string)
566 #define GST_TAG_CONTACT "contact"
570 * license of data (string)
572 #define GST_TAG_LICENSE "license"
574 * GST_TAG_LICENSE_URI:
576 * URI to location where license details can be found (string)
580 #define GST_TAG_LICENSE_URI "license-uri"
584 * person(s) performing (string)
586 #define GST_TAG_PERFORMER "performer"
590 * length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)
592 #define GST_TAG_DURATION "duration"
596 * codec the data is stored in (string)
598 #define GST_TAG_CODEC "codec"
600 * GST_TAG_VIDEO_CODEC:
602 * codec the video data is stored in (string)
604 #define GST_TAG_VIDEO_CODEC "video-codec"
606 * GST_TAG_AUDIO_CODEC:
608 * codec the audio data is stored in (string)
610 #define GST_TAG_AUDIO_CODEC "audio-codec"
612 * GST_TAG_SUBTITLE_CODEC:
614 * codec/format the subtitle data is stored in (string)
618 #define GST_TAG_SUBTITLE_CODEC "subtitle-codec"
620 * GST_TAG_CONTAINER_FORMAT:
622 * container format the data is stored in (string)
626 #define GST_TAG_CONTAINER_FORMAT "container-format"
630 * exact or average bitrate in bits/s (unsigned integer)
632 #define GST_TAG_BITRATE "bitrate"
634 * GST_TAG_NOMINAL_BITRATE:
636 * nominal bitrate in bits/s (unsigned integer). The actual bitrate might be
637 * different from this target bitrate.
639 #define GST_TAG_NOMINAL_BITRATE "nominal-bitrate"
641 * GST_TAG_MINIMUM_BITRATE:
643 * minimum bitrate in bits/s (unsigned integer)
645 #define GST_TAG_MINIMUM_BITRATE "minimum-bitrate"
647 * GST_TAG_MAXIMUM_BITRATE:
649 * maximum bitrate in bits/s (unsigned integer)
651 #define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate"
655 * serial number of track (unsigned integer)
657 #define GST_TAG_SERIAL "serial"
661 * encoder used to encode this stream (string)
663 #define GST_TAG_ENCODER "encoder"
665 * GST_TAG_ENCODER_VERSION:
667 * version of the encoder used to encode this stream (unsigned integer)
669 #define GST_TAG_ENCODER_VERSION "encoder-version"
671 * GST_TAG_TRACK_GAIN:
673 * track gain in db (double)
675 #define GST_TAG_TRACK_GAIN "replaygain-track-gain"
677 * GST_TAG_TRACK_PEAK:
679 * peak of the track (double)
681 #define GST_TAG_TRACK_PEAK "replaygain-track-peak"
683 * GST_TAG_ALBUM_GAIN:
685 * album gain in db (double)
687 #define GST_TAG_ALBUM_GAIN "replaygain-album-gain"
689 * GST_TAG_ALBUM_PEAK:
691 * peak of the album (double)
693 #define GST_TAG_ALBUM_PEAK "replaygain-album-peak"
695 * GST_TAG_REFERENCE_LEVEL:
697 * reference level of track and album gain values (double)
701 #define GST_TAG_REFERENCE_LEVEL "replaygain-reference-level"
703 * GST_TAG_LANGUAGE_CODE:
705 * ISO-639-2 or ISO-639-1 code for the language the content is in (string)
707 * There is utility API in libgsttag in gst-plugins-base to obtain a translated
708 * language name from the language code: gst_tag_get_language_name()
710 #define GST_TAG_LANGUAGE_CODE "language-code"
712 * GST_TAG_LANGUAGE_NAME:
714 * Name of the language the content is in (string)
716 * Free-form name of the language the content is in, if a language code
717 * is not available. This tag should not be set in addition to a language
718 * code. It is undefined what language or locale the language name is in.
722 #define GST_TAG_LANGUAGE_NAME "language-name"
726 * image (sample) (sample caps should specify the content type and preferably
727 * also set "image-type" field as #GstTagImageType)
731 #define GST_TAG_IMAGE "image"
733 * GST_TAG_PREVIEW_IMAGE:
735 * image that is meant for preview purposes, e.g. small icon-sized version
736 * (sample) (sample caps should specify the content type)
740 #define GST_TAG_PREVIEW_IMAGE "preview-image"
743 * GST_TAG_ATTACHMENT:
745 * generic file attachment (sample) (sample caps should specify the content
746 * type and if possible set "filename" to the file name of the
751 #define GST_TAG_ATTACHMENT "attachment"
754 * GST_TAG_BEATS_PER_MINUTE:
756 * number of beats per minute in audio (double)
760 #define GST_TAG_BEATS_PER_MINUTE "beats-per-minute"
765 * comma separated keywords describing the content (string).
769 #define GST_TAG_KEYWORDS "keywords"
772 * GST_TAG_GEO_LOCATION_NAME:
774 * human readable descriptive location of where the media has been recorded or
775 * produced. (string).
779 #define GST_TAG_GEO_LOCATION_NAME "geo-location-name"
782 * GST_TAG_GEO_LOCATION_LATITUDE:
784 * geo latitude location of where the media has been recorded or produced in
785 * degrees according to WGS84 (zero at the equator, negative values for southern
786 * latitudes) (double).
790 #define GST_TAG_GEO_LOCATION_LATITUDE "geo-location-latitude"
793 * GST_TAG_GEO_LOCATION_LONGITUDE:
795 * geo longitude location of where the media has been recorded or produced in
796 * degrees according to WGS84 (zero at the prime meridian in Greenwich/UK,
797 * negative values for western longitudes). (double).
801 #define GST_TAG_GEO_LOCATION_LONGITUDE "geo-location-longitude"
804 * GST_TAG_GEO_LOCATION_ELEVATION:
806 * geo elevation of where the media has been recorded or produced in meters
807 * according to WGS84 (zero is average sea level) (double).
811 #define GST_TAG_GEO_LOCATION_ELEVATION "geo-location-elevation"
813 * GST_TAG_GEO_LOCATION_COUNTRY:
815 * The country (english name) where the media has been produced (string).
819 #define GST_TAG_GEO_LOCATION_COUNTRY "geo-location-country"
821 * GST_TAG_GEO_LOCATION_CITY:
823 * The city (english name) where the media has been produced (string).
827 #define GST_TAG_GEO_LOCATION_CITY "geo-location-city"
829 * GST_TAG_GEO_LOCATION_SUBLOCATION:
831 * A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better
832 * where the media has been produced. (e.g. the neighborhood) (string).
834 * This tag has been added as this is how it is handled/named in XMP's
835 * Iptc4xmpcore schema.
839 #define GST_TAG_GEO_LOCATION_SUBLOCATION "geo-location-sublocation"
841 * GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR:
843 * Represents the expected error on the horizontal positioning in
848 #define GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR "geo-location-horizontal-error"
850 * GST_TAG_GEO_LOCATION_MOVEMENT_SPEED:
852 * Speed of the capturing device when performing the capture.
853 * Represented in m/s. (double)
855 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
859 #define GST_TAG_GEO_LOCATION_MOVEMENT_SPEED "geo-location-movement-speed"
861 * GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION:
863 * Indicates the movement direction of the device performing the capture
864 * of a media. It is represented as degrees in floating point representation,
865 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
867 * See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
871 #define GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION "geo-location-movement-direction"
873 * GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION:
875 * Indicates the direction the device is pointing to when capturing
876 * a media. It is represented as degrees in floating point representation,
877 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
879 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
883 #define GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION "geo-location-capture-direction"
887 * Name of the show, used for displaying (string)
891 #define GST_TAG_SHOW_NAME "show-name"
893 * GST_TAG_SHOW_SORTNAME:
895 * Name of the show, used for sorting (string)
899 #define GST_TAG_SHOW_SORTNAME "show-sortname"
901 * GST_TAG_SHOW_EPISODE_NUMBER:
903 * Number of the episode within a season/show (unsigned integer)
907 #define GST_TAG_SHOW_EPISODE_NUMBER "show-episode-number"
909 * GST_TAG_SHOW_SEASON_NUMBER:
911 * Number of the season of a show/series (unsigned integer)
915 #define GST_TAG_SHOW_SEASON_NUMBER "show-season-number"
919 * The lyrics of the media (string)
923 #define GST_TAG_LYRICS "lyrics"
925 * GST_TAG_COMPOSER_SORTNAME:
927 * The composer's name, used for sorting (string)
931 #define GST_TAG_COMPOSER_SORTNAME "composer-sortname"
935 * Groups together media that are related and spans multiple tracks. An
936 * example are multiple pieces of a concerto. (string)
940 #define GST_TAG_GROUPING "grouping"
942 * GST_TAG_USER_RATING:
944 * Rating attributed by a person (likely the application user).
945 * The higher the value, the more the user likes this media
946 * (unsigned int from 0 to 100)
950 #define GST_TAG_USER_RATING "user-rating"
952 * GST_TAG_DEVICE_MANUFACTURER:
954 * Manufacturer of the device used to create the media (string)
958 #define GST_TAG_DEVICE_MANUFACTURER "device-manufacturer"
960 * GST_TAG_DEVICE_MODEL:
962 * Model of the device used to create the media (string)
966 #define GST_TAG_DEVICE_MODEL "device-model"
968 * GST_TAG_APPLICATION_NAME:
970 * Name of the application used to create the media (string)
974 #define GST_TAG_APPLICATION_NAME "application-name"
976 * GST_TAG_APPLICATION_DATA:
978 * Arbitrary application data (buffer)
980 * Some formats allow application's to add their own arbitrary data
981 * into files. This data is application's dependent.
985 #define GST_TAG_APPLICATION_DATA "application-data"
987 * GST_TAG_IMAGE_ORIENTATION:
989 * Represents the 'Orientation' tag from EXIF. Defines how the image
990 * should be rotated and mirrored for display. (string)
992 * This tag has a predefined set of allowed values:
1002 * The naming is adopted according to a possible transformation to perform
1003 * on the image to fix its orientation, obviously equivalent operations will
1004 * yield the same result.
1006 * Rotations indicated by the values are in clockwise direction and
1007 * 'flip' means an horizontal mirroring.
1011 #define GST_TAG_IMAGE_ORIENTATION "image-orientation"
1015 #endif /* __GST_TAGLIST_H__ */