diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 868ca12f91..7a4b833249 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -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 diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index bacbe4556f..9772733f51 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -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"), diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index bafa647c71..d5cdb7a4b2 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -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: *