aboutsummaryrefslogtreecommitdiff
path: root/gst/gstmeta.h
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-09-19 12:31:13 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-09-19 12:31:13 +0200
commit63f3a12981d4257915f0c1651ab409a08a1c66f8 (patch)
treeaede32630d47ab14da0fb9ca006a363ae3407dc3 /gst/gstmeta.h
parent63f38155df9cb281e4d48dbc14389e66446436f2 (diff)
Imported Upstream version 1.1.90upstream/1.1.90
Diffstat (limited to 'gst/gstmeta.h')
-rw-r--r--gst/gstmeta.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gst/gstmeta.h b/gst/gstmeta.h
index 08411e3..d294126 100644
--- a/gst/gstmeta.h
+++ b/gst/gstmeta.h
@@ -82,6 +82,14 @@ typedef enum {
#define GST_META_FLAG_UNSET(meta,flag) (GST_META_FLAGS (meta) &= ~(flag))
/**
+ * GST_META_TAG_MEMORY_STR:
+ * This metadata stays relevant as long as memory layout is unchanged.
+ *
+ * Since: 1.2
+ */
+#define GST_META_TAG_MEMORY_STR "memory"
+
+/**
* GstMeta:
* @flags: extra flags for the metadata
* @info: pointer to the #GstMetaInfo
@@ -199,6 +207,7 @@ const GstMetaInfo * gst_meta_register (GType api, const gchar *impl,
GstMetaFreeFunction free_func,
GstMetaTransformFunction transform_func);
const GstMetaInfo * gst_meta_get_info (const gchar * impl);
+const gchar* const* gst_meta_api_type_get_tags (GType api);
/* some default tags */
GST_EXPORT GQuark _gst_meta_tag_memory;
@@ -208,6 +217,9 @@ GST_EXPORT GQuark _gst_meta_tag_memory;
*
* Metadata tagged with this tag depends on the particular memory
* or buffer that it is on.
+ *
+ * Deprecated: The GQuarks are not exported by any public API, use
+ * GST_META_TAG_MEMORY_STR instead.
*/
#define GST_META_TAG_MEMORY (_gst_meta_tag_memory)