From: Thiago Santos Date: Wed, 4 Aug 2010 14:24:12 +0000 (-0300) Subject: tag: Adds GST_TAG_APPLICATION_NAME tag X-Git-Tag: RELEASE-0.10.31~234 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=261ef606e2a062b165ef1848852a72f1e9b28100;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 5cd498f..00d90fb 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -2212,6 +2212,7 @@ GST_TAG_GROUPING GST_TAG_USER_RATING GST_TAG_DEVICE_MANUFACTURER GST_TAG_DEVICE_MODEL +GST_TAG_APPLICATION_NAME GST_TAG_IMAGE_ORIENTATION gst_tag_register diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 9772733..fb554e2 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -353,6 +353,8 @@ _gst_tag_initialize (void) gst_tag_register (GST_TAG_DEVICE_MODEL, GST_TAG_FLAG_META, G_TYPE_STRING, _("device model"), _("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, _("image orientation"), _("How the image should be rotated or flipped before display"), NULL); diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index d5cdb7a..4a7311b 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -960,6 +960,14 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list, */ #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: * * Represents the 'Orientation' tag from EXIF. Defines how the image