tag: Adds GST_TAG_DATE_TIME tag

Adds a new tag that represents a date and time a media was
created

API: GST_TAG_DATE_TIME

Fixes #594504
This commit is contained in:
Thiago Santos 2010-06-21 23:42:44 -03:00
parent 3449bfc30e
commit 137d19d621
3 changed files with 12 additions and 0 deletions

View file

@ -2145,6 +2145,7 @@ GST_TAG_ALBUM_SORTNAME
GST_TAG_ALBUM_ARTIST
GST_TAG_ALBUM_ARTIST_SORTNAME
GST_TAG_DATE
GST_TAG_DATE_TIME
GST_TAG_GENRE
GST_TAG_COMMENT
GST_TAG_EXTENDED_COMMENT

View file

@ -127,6 +127,10 @@ _gst_tag_initialize (void)
_("The artist of the entire album, as it should be sorted"), NULL);
gst_tag_register (GST_TAG_DATE, GST_TAG_FLAG_META, GST_TYPE_DATE,
_("date"), _("date the data was created (as a GDate structure)"), NULL);
gst_tag_register (GST_TAG_DATE_TIME, GST_TAG_FLAG_META, GST_TYPE_DATE_TIME,
_("datetime"),
_("date and time the data was created (as a GstDateTime structure)"),
NULL);
gst_tag_register (GST_TAG_GENRE, GST_TAG_FLAG_META,
G_TYPE_STRING,
_("genre"),

View file

@ -467,6 +467,13 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
* date the data was created (#GDate structure)
*/
#define GST_TAG_DATE "date"
/**
* GST_TAG_DATE_TIME:
* date and time the data was created (#GstDateTime structure)
*
* Since: 0.10.31
*/
#define GST_TAG_DATE_TIME "datetime"
/**
* GST_TAG_GENRE:
*