mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
meta: Add a #define for memory metadata
This commit is contained in:
parent
8d24c4e451
commit
ff05a4698e
3 changed files with 11 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue