tag: Adds GST_TAG_APPLICATION_NAME tag

Adds a new tag for representing application used to create
a media

https://bugzilla.gnome.org/show_bug.cgi?id=626027
This commit is contained in:
Thiago Santos 2010-08-04 11:24:12 -03:00
parent 699385f715
commit 261ef606e2
3 changed files with 11 additions and 0 deletions

View file

@ -2212,6 +2212,7 @@ GST_TAG_GROUPING
GST_TAG_USER_RATING GST_TAG_USER_RATING
GST_TAG_DEVICE_MANUFACTURER GST_TAG_DEVICE_MANUFACTURER
GST_TAG_DEVICE_MODEL GST_TAG_DEVICE_MODEL
GST_TAG_APPLICATION_NAME
GST_TAG_IMAGE_ORIENTATION GST_TAG_IMAGE_ORIENTATION
gst_tag_register gst_tag_register

View file

@ -353,6 +353,8 @@ _gst_tag_initialize (void)
gst_tag_register (GST_TAG_DEVICE_MODEL, GST_TAG_FLAG_META, G_TYPE_STRING, gst_tag_register (GST_TAG_DEVICE_MODEL, GST_TAG_FLAG_META, G_TYPE_STRING,
_("device model"), _("device model"),
_("Model of the device used to create this media"), NULL); _("Model of the device used to create this media"), NULL);
gst_tag_register (GST_TAG_APPLICATION_NAME, GST_TAG_FLAG_META, G_TYPE_STRING,
_("application name"), _("Application used to create the media"), NULL);
gst_tag_register (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META, G_TYPE_STRING, gst_tag_register (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META, G_TYPE_STRING,
_("image orientation"), _("image orientation"),
_("How the image should be rotated or flipped before display"), NULL); _("How the image should be rotated or flipped before display"), NULL);

View file

@ -959,6 +959,14 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
* Since: 0.10.30 * Since: 0.10.30
*/ */
#define GST_TAG_DEVICE_MODEL "device-model" #define GST_TAG_DEVICE_MODEL "device-model"
/**
* GST_TAG_APPLICATION_NAME:
*
* Name of the application used to create the media (string)
*
* Since: 0.10.31
*/
#define GST_TAG_APPLICATION_NAME "application-name"
/** /**
* GST_TAG_IMAGE_ORIENTATION: * GST_TAG_IMAGE_ORIENTATION:
* *