taglist: make GST_TAG_APPLICATION_DATA also a GstSample

That way additional meta-data can be passed along with it.
This commit is contained in:
Tim-Philipp Müller 2012-07-26 16:44:15 +01:00
parent 3231ea6204
commit 7e98f05afc
2 changed files with 4 additions and 4 deletions

View file

@ -380,7 +380,7 @@ _priv_gst_tag_initialize (void)
G_TYPE_STRING, _("application name"), G_TYPE_STRING, _("application name"),
_("Application used to create the media"), NULL); _("Application used to create the media"), NULL);
gst_tag_register_static (GST_TAG_APPLICATION_DATA, GST_TAG_FLAG_META, 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); _("Arbitrary application data to be serialized into the media"), NULL);
gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META, gst_tag_register_static (GST_TAG_IMAGE_ORIENTATION, GST_TAG_FLAG_META,
G_TYPE_STRING, _("image orientation"), G_TYPE_STRING, _("image orientation"),

View file

@ -996,10 +996,10 @@ gst_tag_list_copy (const GstTagList * taglist)
/** /**
* GST_TAG_APPLICATION_DATA: * GST_TAG_APPLICATION_DATA:
* *
* Arbitrary application data (buffer) * Arbitrary application data (sample)
* *
* Some formats allow application's to add their own arbitrary data * Some formats allow applications to add their own arbitrary data
* into files. This data is application's dependent. * into files. This data is application dependent.
*/ */
#define GST_TAG_APPLICATION_DATA "application-data" #define GST_TAG_APPLICATION_DATA "application-data"
/** /**