Commit 7e98f05a authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

taglist: make GST_TAG_APPLICATION_DATA also a GstSample

That way additional meta-data can be passed along with it.
parent 3231ea62
...@@ -380,7 +380,7 @@ _priv_gst_tag_initialize (void) ...@@ -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"),
......
...@@ -996,10 +996,10 @@ gst_tag_list_copy (const GstTagList * taglist) ...@@ -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"
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment