mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
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:
parent
3449bfc30e
commit
137d19d621
3 changed files with 12 additions and 0 deletions
|
@ -2145,6 +2145,7 @@ GST_TAG_ALBUM_SORTNAME
|
||||||
GST_TAG_ALBUM_ARTIST
|
GST_TAG_ALBUM_ARTIST
|
||||||
GST_TAG_ALBUM_ARTIST_SORTNAME
|
GST_TAG_ALBUM_ARTIST_SORTNAME
|
||||||
GST_TAG_DATE
|
GST_TAG_DATE
|
||||||
|
GST_TAG_DATE_TIME
|
||||||
GST_TAG_GENRE
|
GST_TAG_GENRE
|
||||||
GST_TAG_COMMENT
|
GST_TAG_COMMENT
|
||||||
GST_TAG_EXTENDED_COMMENT
|
GST_TAG_EXTENDED_COMMENT
|
||||||
|
|
|
@ -127,6 +127,10 @@ _gst_tag_initialize (void)
|
||||||
_("The artist of the entire album, as it should be sorted"), NULL);
|
_("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,
|
gst_tag_register (GST_TAG_DATE, GST_TAG_FLAG_META, GST_TYPE_DATE,
|
||||||
_("date"), _("date the data was created (as a GDate structure)"), NULL);
|
_("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,
|
gst_tag_register (GST_TAG_GENRE, GST_TAG_FLAG_META,
|
||||||
G_TYPE_STRING,
|
G_TYPE_STRING,
|
||||||
_("genre"),
|
_("genre"),
|
||||||
|
|
|
@ -467,6 +467,13 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
|
||||||
* date the data was created (#GDate structure)
|
* date the data was created (#GDate structure)
|
||||||
*/
|
*/
|
||||||
#define GST_TAG_DATE "date"
|
#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:
|
* GST_TAG_GENRE:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue