From 7e98f05afce3e1727590abb029d1a79d383f1302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 26 Jul 2012 16:44:15 +0100 Subject: [PATCH] taglist: make GST_TAG_APPLICATION_DATA also a GstSample That way additional meta-data can be passed along with it. --- gst/gsttaglist.c | 2 +- gst/gsttaglist.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index b2c7516a23..1da2ca8784 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -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"), diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 6c91524250..dcbe37ad62 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -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" /**