mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
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:
parent
3231ea6204
commit
7e98f05afc
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
/**
|
/**
|
||||||
* 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"
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue