tag: Adds GST_TAG_APPLICATION_NAME tag
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Wed, 4 Aug 2010 14:24:12 +0000 (11:24 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Mon, 9 Aug 2010 20:44:17 +0000 (17:44 -0300)
Adds a new tag for representing application used to create
a media

https://bugzilla.gnome.org/show_bug.cgi?id=626027

docs/gst/gstreamer-sections.txt
gst/gsttaglist.c
gst/gsttaglist.h

index 5cd498f..00d90fb 100644 (file)
@@ -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
index 9772733..fb554e2 100644 (file)
@@ -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);
index d5cdb7a..4a7311b 100644 (file)
@@ -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