taglist: make GST_TAG_APPLICATION_DATA also a GstSample
authorTim-Philipp Müller <tim@centricular.net>
Thu, 26 Jul 2012 15:44:15 +0000 (16:44 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 26 Jul 2012 15:44:15 +0000 (16:44 +0100)
That way additional meta-data can be passed along with it.

gst/gsttaglist.c
gst/gsttaglist.h

index b2c7516..1da2ca8 100644 (file)
@@ -380,7 +380,7 @@ _priv_gst_tag_initialize (void)
       G_TYPE_STRING, _("application name"),
       _("Application used to create the media"), NULL);
   gst_tag_register_static (GST_TAG_APPLICATION_DATA, GST_TAG_FLAG_META,
-      GST_TYPE_BUFFER, _("application data"),
+      GST_TYPE_SAMPLE, _("application data"),
       _("Arbitrary application data to be serialized into the media"), NULL);
   gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META,
       G_TYPE_STRING, _("image orientation"),
index 6c91524..dcbe37a 100644 (file)
@@ -996,10 +996,10 @@ gst_tag_list_copy (const GstTagList * taglist)
 /**
  * GST_TAG_APPLICATION_DATA:
  *
- * Arbitrary application data (buffer)
+ * Arbitrary application data (sample)
  *
- * Some formats allow application's to add their own arbitrary data
- * into files. This data is application's dependent.
+ * Some formats allow applications to add their own arbitrary data
+ * into files. This data is application dependent.
  */
 #define GST_TAG_APPLICATION_DATA          "application-data"
 /**