meta: Add a #define for memory metadata

This commit is contained in:
Mathieu Duponchelle 2013-08-22 00:02:28 +02:00 committed by Sebastian Dröge
parent 8d24c4e451
commit ff05a4698e
3 changed files with 11 additions and 1 deletions

View file

@ -282,6 +282,7 @@ GST_META_TRANSFORM_IS_COPY
gst_meta_api_type_register
gst_meta_api_type_has_tag
GST_META_TAG_MEMORY
GST_META_TAG_MEMORY_STR
gst_meta_register
gst_meta_get_info
<SUBSECTION Standard>

View file

@ -81,6 +81,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

View file

@ -665,6 +665,7 @@ EXPORTS
gst_message_type_get_name
gst_message_type_get_type
gst_message_type_to_quark
gst_meta_api_type_get_tags
gst_meta_api_type_has_tag
gst_meta_api_type_register
gst_meta_flags_get_type