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/gstbuffer.h>
28 #include <gst/gststructure.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))
145 /* FIXME 0.11: Don't typedef GstTagList to be a GstStructure, they're
146 * internally the same but not from an API point of view.
152 * Opaque #GstTagList data structure.
154 #ifdef _FOOL_GTK_DOC_
155 typedef struct _GstTagList GstTagList;
157 #ifdef IN_GOBJECT_INTROSPECTION
158 typedef struct _GstTagList GstTagList;
160 typedef GstStructure GstTagList;
164 #define GST_TAG_LIST(x) ((GstTagList *) (x))
165 #define GST_IS_TAG_LIST(x) ((x) != NULL && gst_is_tag_list (GST_TAG_LIST (x)))
166 #define GST_TYPE_TAG_LIST (gst_tag_list_get_type ())
170 * @list: the #GstTagList
171 * @tag: a name of a tag in @list
172 * @user_data: user data
174 * A function that will be called in gst_tag_list_foreach(). The function may
175 * not modify the tag list.
177 typedef void (*GstTagForeachFunc) (const GstTagList * list,
183 * @dest: the destination #GValue
184 * @src: the source #GValue
186 * A function for merging multiple values of a tag used when registering
189 typedef void (* GstTagMergeFunc) (GValue *dest, const GValue *src);
191 GType gst_tag_list_get_type (void);
193 /* tag registration */
194 void gst_tag_register (const gchar * name,
199 GstTagMergeFunc func);
201 /* some default merging functions */
202 void gst_tag_merge_use_first (GValue * dest, const GValue * src);
203 void gst_tag_merge_strings_with_comma (GValue * dest, const GValue * src);
205 /* basic tag support */
206 gboolean gst_tag_exists (const gchar * tag);
207 GType gst_tag_get_type (const gchar * tag);
208 const gchar * gst_tag_get_nick (const gchar * tag);
209 const gchar * gst_tag_get_description (const gchar * tag);
210 GstTagFlag gst_tag_get_flag (const gchar * tag);
211 gboolean gst_tag_is_fixed (const gchar * tag);
214 GstTagList * gst_tag_list_new (void) G_GNUC_MALLOC;
215 GstTagList * gst_tag_list_new_full (const gchar * tag, ...) G_GNUC_MALLOC;
216 GstTagList * gst_tag_list_new_full_valist (va_list var_args) G_GNUC_MALLOC;
218 gchar * gst_tag_list_to_string (const GstTagList * list) G_GNUC_MALLOC;
219 GstTagList * gst_tag_list_new_from_string (const gchar * str) G_GNUC_MALLOC;
221 gboolean gst_is_tag_list (gconstpointer p);
222 GstTagList * gst_tag_list_copy (const GstTagList * list) G_GNUC_MALLOC;
223 gboolean gst_tag_list_is_empty (const GstTagList * list);
224 gboolean gst_tag_list_is_equal (const GstTagList * list1,
225 const GstTagList * list2);
226 void gst_tag_list_insert (GstTagList * into,
227 const GstTagList * from,
228 GstTagMergeMode mode);
229 GstTagList * gst_tag_list_merge (const GstTagList * list1,
230 const GstTagList * list2,
231 GstTagMergeMode mode) G_GNUC_MALLOC;
232 void gst_tag_list_free (GstTagList * list);
233 guint gst_tag_list_get_tag_size (const GstTagList * list,
235 void gst_tag_list_add (GstTagList * list,
236 GstTagMergeMode mode,
238 ...) G_GNUC_NULL_TERMINATED;
239 void gst_tag_list_add_values (GstTagList * list,
240 GstTagMergeMode mode,
242 ...) G_GNUC_NULL_TERMINATED;
243 void gst_tag_list_add_valist (GstTagList * list,
244 GstTagMergeMode mode,
247 void gst_tag_list_add_valist_values (GstTagList * list,
248 GstTagMergeMode mode,
251 void gst_tag_list_add_value (GstTagList * list,
252 GstTagMergeMode mode,
254 const GValue * value);
255 void gst_tag_list_remove_tag (GstTagList * list,
257 void gst_tag_list_foreach (const GstTagList * list,
258 GstTagForeachFunc func,
262 gst_tag_list_get_value_index (const GstTagList * list,
265 gboolean gst_tag_list_copy_value (GValue * dest,
266 const GstTagList * list,
269 /* simplifications (FIXME: do we want them?) */
270 gboolean gst_tag_list_get_char (const GstTagList * list,
273 gboolean gst_tag_list_get_char_index (const GstTagList * list,
277 gboolean gst_tag_list_get_uchar (const GstTagList * list,
280 gboolean gst_tag_list_get_uchar_index (const GstTagList * list,
284 gboolean gst_tag_list_get_boolean (const GstTagList * list,
287 gboolean gst_tag_list_get_boolean_index (const GstTagList * list,
291 gboolean gst_tag_list_get_int (const GstTagList * list,
294 gboolean gst_tag_list_get_int_index (const GstTagList * list,
298 gboolean gst_tag_list_get_uint (const GstTagList * list,
301 gboolean gst_tag_list_get_uint_index (const GstTagList * list,
305 gboolean gst_tag_list_get_long (const GstTagList * list,
308 gboolean gst_tag_list_get_long_index (const GstTagList * list,
312 gboolean gst_tag_list_get_ulong (const GstTagList * list,
315 gboolean gst_tag_list_get_ulong_index (const GstTagList * list,
319 gboolean gst_tag_list_get_int64 (const GstTagList * list,
322 gboolean gst_tag_list_get_int64_index (const GstTagList * list,
326 gboolean gst_tag_list_get_uint64 (const GstTagList * list,
329 gboolean gst_tag_list_get_uint64_index (const GstTagList * list,
333 gboolean gst_tag_list_get_float (const GstTagList * list,
336 gboolean gst_tag_list_get_float_index (const GstTagList * list,
340 gboolean gst_tag_list_get_double (const GstTagList * list,
343 gboolean gst_tag_list_get_double_index (const GstTagList * list,
347 gboolean gst_tag_list_get_string (const GstTagList * list,
350 gboolean gst_tag_list_get_string_index (const GstTagList * list,
354 gboolean gst_tag_list_peek_string_index (const GstTagList * list,
357 const gchar ** value);
358 gboolean gst_tag_list_get_pointer (const GstTagList * list,
361 gboolean gst_tag_list_get_pointer_index (const GstTagList * list,
365 gboolean gst_tag_list_get_date (const GstTagList * list,
368 gboolean gst_tag_list_get_date_index (const GstTagList * list,
372 gboolean gst_tag_list_get_date_time (const GstTagList * list,
374 GstDateTime ** value);
375 gboolean gst_tag_list_get_date_time_index (const GstTagList * list,
378 GstDateTime ** value);
379 gboolean gst_tag_list_get_buffer (const GstTagList * list,
382 gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
387 /* GStreamer core tags */
391 * commonly used title (string)
393 * The title as it should be displayed, e.g. 'The Doll House'
395 #define GST_TAG_TITLE "title"
397 * GST_TAG_TITLE_SORTNAME:
399 * commonly used title, as used for sorting (string)
401 * The title as it should be sorted, e.g. 'Doll House, The'
405 #define GST_TAG_TITLE_SORTNAME "title-sortname"
409 * person(s) responsible for the recording (string)
411 * The artist name as it should be displayed, e.g. 'Jimi Hendrix' or
412 * 'The Guitar Heroes'
414 #define GST_TAG_ARTIST "artist"
416 * GST_TAG_ARTIST_SORTNAME:
418 * person(s) responsible for the recording, as used for sorting (string)
420 * The artist name as it should be sorted, e.g. 'Hendrix, Jimi' or
421 * 'Guitar Heroes, The'
425 /* FIXME 0.11: change to "artist-sortname" */
426 #define GST_TAG_ARTIST_SORTNAME "musicbrainz-sortname"
430 * album containing this data (string)
432 * The album name as it should be displayed, e.g. 'The Jazz Guitar'
434 #define GST_TAG_ALBUM "album"
436 * GST_TAG_ALBUM_SORTNAME:
438 * album containing this data, as used for sorting (string)
440 * The album name as it should be sorted, e.g. 'Jazz Guitar, The'
444 #define GST_TAG_ALBUM_SORTNAME "album-sortname"
446 * GST_TAG_ALBUM_ARTIST:
448 * The artist of the entire album, as it should be displayed.
452 #define GST_TAG_ALBUM_ARTIST "album-artist"
454 * GST_TAG_ALBUM_ARTIST_SORTNAME:
456 * The artist of the entire album, as it should be sorted.
460 #define GST_TAG_ALBUM_ARTIST_SORTNAME "album-artist-sortname"
464 * person(s) who composed the recording (string)
468 #define GST_TAG_COMPOSER "composer"
472 * date the data was created (#GDate structure)
474 #define GST_TAG_DATE "date"
478 * date and time the data was created (#GstDateTime structure)
482 #define GST_TAG_DATE_TIME "datetime"
486 * genre this data belongs to (string)
488 #define GST_TAG_GENRE "genre"
492 * free text commenting the data (string)
494 #define GST_TAG_COMMENT "comment"
496 * GST_TAG_EXTENDED_COMMENT:
498 * key/value text commenting the data (string)
500 * Must be in the form of 'key=comment' or
501 * 'key[lc]=comment' where 'lc' is an ISO-639
504 * This tag is used for unknown Vorbis comment tags,
505 * unknown APE tags and certain ID3v2 comment fields.
509 #define GST_TAG_EXTENDED_COMMENT "extended-comment"
511 * GST_TAG_TRACK_NUMBER:
513 * track number inside a collection (unsigned integer)
515 #define GST_TAG_TRACK_NUMBER "track-number"
517 * GST_TAG_TRACK_COUNT:
519 * count of tracks inside collection this track belongs to (unsigned integer)
521 #define GST_TAG_TRACK_COUNT "track-count"
523 * GST_TAG_ALBUM_VOLUME_NUMBER:
525 * disc number inside a collection (unsigned integer)
527 #define GST_TAG_ALBUM_VOLUME_NUMBER "album-disc-number"
529 * GST_TAG_ALBUM_VOLUME_COUNT:
531 * count of discs inside collection this disc belongs to (unsigned integer)
533 #define GST_TAG_ALBUM_VOLUME_COUNT "album-disc-count"
537 * Origin of media as a URI (location, where the original of the file or stream
538 * is hosted) (string)
540 #define GST_TAG_LOCATION "location"
544 * Homepage for this media (i.e. artist or movie homepage) (string)
548 #define GST_TAG_HOMEPAGE "homepage"
550 * GST_TAG_DESCRIPTION:
552 * short text describing the content of the data (string)
554 #define GST_TAG_DESCRIPTION "description"
558 * version of this data (string)
560 #define GST_TAG_VERSION "version"
564 * International Standard Recording Code - see http://www.ifpi.org/isrc/ (string)
566 #define GST_TAG_ISRC "isrc"
568 * GST_TAG_ORGANIZATION:
570 * organization (string)
572 #define GST_TAG_ORGANIZATION "organization"
576 * copyright notice of the data (string)
578 #define GST_TAG_COPYRIGHT "copyright"
580 * GST_TAG_COPYRIGHT_URI:
582 * URI to location where copyright details can be found (string)
586 #define GST_TAG_COPYRIGHT_URI "copyright-uri"
588 * GST_TAG_ENCODED_BY:
590 * name of the person or organisation that encoded the file. May contain a
591 * copyright message if the person or organisation also holds the copyright
594 * Note: do not use this field to describe the encoding application. Use
595 * #GST_TAG_APPLICATION_NAME or #GST_TAG_COMMENT for that.
599 #define GST_TAG_ENCODED_BY "encoded-by"
603 * contact information (string)
605 #define GST_TAG_CONTACT "contact"
609 * license of data (string)
611 #define GST_TAG_LICENSE "license"
613 * GST_TAG_LICENSE_URI:
615 * URI to location where license details can be found (string)
619 #define GST_TAG_LICENSE_URI "license-uri"
623 * person(s) performing (string)
625 #define GST_TAG_PERFORMER "performer"
629 * length in GStreamer time units (nanoseconds) (unsigned 64-bit integer)
631 #define GST_TAG_DURATION "duration"
635 * codec the data is stored in (string)
637 #define GST_TAG_CODEC "codec"
639 * GST_TAG_VIDEO_CODEC:
641 * codec the video data is stored in (string)
643 #define GST_TAG_VIDEO_CODEC "video-codec"
645 * GST_TAG_AUDIO_CODEC:
647 * codec the audio data is stored in (string)
649 #define GST_TAG_AUDIO_CODEC "audio-codec"
651 * GST_TAG_SUBTITLE_CODEC:
653 * codec/format the subtitle data is stored in (string)
657 #define GST_TAG_SUBTITLE_CODEC "subtitle-codec"
659 * GST_TAG_CONTAINER_FORMAT:
661 * container format the data is stored in (string)
665 #define GST_TAG_CONTAINER_FORMAT "container-format"
669 * exact or average bitrate in bits/s (unsigned integer)
671 #define GST_TAG_BITRATE "bitrate"
673 * GST_TAG_NOMINAL_BITRATE:
675 * nominal bitrate in bits/s (unsigned integer). The actual bitrate might be
676 * different from this target bitrate.
678 #define GST_TAG_NOMINAL_BITRATE "nominal-bitrate"
680 * GST_TAG_MINIMUM_BITRATE:
682 * minimum bitrate in bits/s (unsigned integer)
684 #define GST_TAG_MINIMUM_BITRATE "minimum-bitrate"
686 * GST_TAG_MAXIMUM_BITRATE:
688 * maximum bitrate in bits/s (unsigned integer)
690 #define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate"
694 * serial number of track (unsigned integer)
696 #define GST_TAG_SERIAL "serial"
700 * encoder used to encode this stream (string)
702 #define GST_TAG_ENCODER "encoder"
704 * GST_TAG_ENCODER_VERSION:
706 * version of the encoder used to encode this stream (unsigned integer)
708 #define GST_TAG_ENCODER_VERSION "encoder-version"
710 * GST_TAG_TRACK_GAIN:
712 * track gain in db (double)
714 #define GST_TAG_TRACK_GAIN "replaygain-track-gain"
716 * GST_TAG_TRACK_PEAK:
718 * peak of the track (double)
720 #define GST_TAG_TRACK_PEAK "replaygain-track-peak"
722 * GST_TAG_ALBUM_GAIN:
724 * album gain in db (double)
726 #define GST_TAG_ALBUM_GAIN "replaygain-album-gain"
728 * GST_TAG_ALBUM_PEAK:
730 * peak of the album (double)
732 #define GST_TAG_ALBUM_PEAK "replaygain-album-peak"
734 * GST_TAG_REFERENCE_LEVEL:
736 * reference level of track and album gain values (double)
740 #define GST_TAG_REFERENCE_LEVEL "replaygain-reference-level"
742 * GST_TAG_LANGUAGE_CODE:
744 * Language code (ISO-639-1) (string) of the content
746 #define GST_TAG_LANGUAGE_CODE "language-code"
750 * image (buffer) (buffer caps should specify the content type and preferably
751 * also set "image-type" field as #GstTagImageType)
755 #define GST_TAG_IMAGE "image"
757 * GST_TAG_PREVIEW_IMAGE:
759 * image that is meant for preview purposes, e.g. small icon-sized version
760 * (buffer) (buffer caps should specify the content type)
764 #define GST_TAG_PREVIEW_IMAGE "preview-image"
767 * GST_TAG_ATTACHMENT:
769 * generic file attachment (buffer) (buffer caps should specify the content
770 * type and if possible set "filename" to the file name of the
775 #define GST_TAG_ATTACHMENT "attachment"
778 * GST_TAG_BEATS_PER_MINUTE:
780 * number of beats per minute in audio (double)
784 #define GST_TAG_BEATS_PER_MINUTE "beats-per-minute"
789 * comma separated keywords describing the content (string).
793 #define GST_TAG_KEYWORDS "keywords"
796 * GST_TAG_GEO_LOCATION_NAME:
798 * human readable descriptive location of where the media has been recorded or
799 * produced. (string).
803 #define GST_TAG_GEO_LOCATION_NAME "geo-location-name"
806 * GST_TAG_GEO_LOCATION_LATITUDE:
808 * geo latitude location of where the media has been recorded or produced in
809 * degrees according to WGS84 (zero at the equator, negative values for southern
810 * latitudes) (double).
814 #define GST_TAG_GEO_LOCATION_LATITUDE "geo-location-latitude"
817 * GST_TAG_GEO_LOCATION_LONGITUDE:
819 * geo longitude location of where the media has been recorded or produced in
820 * degrees according to WGS84 (zero at the prime meridian in Greenwich/UK,
821 * negative values for western longitudes). (double).
825 #define GST_TAG_GEO_LOCATION_LONGITUDE "geo-location-longitude"
828 * GST_TAG_GEO_LOCATION_ELEVATION:
830 * geo elevation of where the media has been recorded or produced in meters
831 * according to WGS84 (zero is average sea level) (double).
835 #define GST_TAG_GEO_LOCATION_ELEVATION "geo-location-elevation"
837 * GST_TAG_GEO_LOCATION_COUNTRY:
839 * The country (english name) where the media has been produced (string).
843 #define GST_TAG_GEO_LOCATION_COUNTRY "geo-location-country"
845 * GST_TAG_GEO_LOCATION_CITY:
847 * The city (english name) where the media has been produced (string).
851 #define GST_TAG_GEO_LOCATION_CITY "geo-location-city"
853 * GST_TAG_GEO_LOCATION_SUBLOCATION:
855 * A location 'smaller' than GST_TAG_GEO_LOCATION_CITY that specifies better
856 * where the media has been produced. (e.g. the neighborhood) (string).
858 * This tag has been added as this is how it is handled/named in XMP's
859 * Iptc4xmpcore schema.
863 #define GST_TAG_GEO_LOCATION_SUBLOCATION "geo-location-sublocation"
865 * GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR:
867 * Represents the expected error on the horizontal positioning in
872 #define GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR "geo-location-horizontal-error"
874 * GST_TAG_GEO_LOCATION_MOVEMENT_SPEED:
876 * Speed of the capturing device when performing the capture.
877 * Represented in m/s. (double)
879 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
883 #define GST_TAG_GEO_LOCATION_MOVEMENT_SPEED "geo-location-movement-speed"
885 * GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION:
887 * Indicates the movement direction of the device performing the capture
888 * of a media. It is represented as degrees in floating point representation,
889 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
891 * See also #GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION
895 #define GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION "geo-location-movement-direction"
897 * GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION:
899 * Indicates the direction the device is pointing to when capturing
900 * a media. It is represented as degrees in floating point representation,
901 * 0 means the geographic north, and increases clockwise (double from 0 to 360)
903 * See also #GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION
907 #define GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION "geo-location-capture-direction"
911 * Name of the show, used for displaying (string)
915 #define GST_TAG_SHOW_NAME "show-name"
917 * GST_TAG_SHOW_SORTNAME:
919 * Name of the show, used for sorting (string)
923 #define GST_TAG_SHOW_SORTNAME "show-sortname"
925 * GST_TAG_SHOW_EPISODE_NUMBER:
927 * Number of the episode within a season/show (unsigned integer)
931 #define GST_TAG_SHOW_EPISODE_NUMBER "show-episode-number"
933 * GST_TAG_SHOW_SEASON_NUMBER:
935 * Number of the season of a show/series (unsigned integer)
939 #define GST_TAG_SHOW_SEASON_NUMBER "show-season-number"
943 * The lyrics of the media (string)
947 #define GST_TAG_LYRICS "lyrics"
949 * GST_TAG_COMPOSER_SORTNAME:
951 * The composer's name, used for sorting (string)
955 #define GST_TAG_COMPOSER_SORTNAME "composer-sortname"
959 * Groups together media that are related and spans multiple tracks. An
960 * example are multiple pieces of a concerto. (string)
964 #define GST_TAG_GROUPING "grouping"
966 * GST_TAG_USER_RATING:
968 * Rating attributed by a person (likely the application user).
969 * The higher the value, the more the user likes this media
970 * (unsigned int from 0 to 100)
974 #define GST_TAG_USER_RATING "user-rating"
976 * GST_TAG_DEVICE_MANUFACTURER:
978 * Manufacturer of the device used to create the media (string)
982 #define GST_TAG_DEVICE_MANUFACTURER "device-manufacturer"
984 * GST_TAG_DEVICE_MODEL:
986 * Model of the device used to create the media (string)
990 #define GST_TAG_DEVICE_MODEL "device-model"
992 * GST_TAG_APPLICATION_NAME:
994 * Name of the application used to create the media (string)
998 #define GST_TAG_APPLICATION_NAME "application-name"
1000 * GST_TAG_APPLICATION_DATA:
1002 * Arbitrary application data (buffer)
1004 * Some formats allow application's to add their own arbitrary data
1005 * into files. This data is application's dependent.
1009 #define GST_TAG_APPLICATION_DATA "application-data"
1011 * GST_TAG_IMAGE_ORIENTATION:
1013 * Represents the 'Orientation' tag from EXIF. Defines how the image
1014 * should be rotated and mirrored for display. (string)
1016 * This tag has a predefined set of allowed values:
1026 * The naming is adopted according to a possible transformation to perform
1027 * on the image to fix its orientation, obviously equivalent operations will
1028 * yield the same result.
1030 * Rotations indicated by the values are in clockwise direction and
1031 * 'flip' means an horizontal mirroring.
1035 #define GST_TAG_IMAGE_ORIENTATION "image-orientation"
1039 #endif /* __GST_TAGLIST_H__ */