#ifndef __GST_META_H__
#define __GST_META_H__
+#include <glib.h>
+#include <gst/gstbuffer.h>
+
G_BEGIN_DECLS
typedef struct _GstMeta GstMeta;
GstMetaFreeFunction free_func;
GstMetaTransformFunction transform_func;
- /*< private >*/
- gpointer _gst_reserved[GST_PADDING];
+ /* No padding needed, GstMetaInfo is always allocated by GStreamer and is
+ * not subclassable or stack-allocatable, so we can extend it as we please
+ * just like interfaces */
};
GType gst_meta_api_type_register (const gchar *api,
* Deprecated: The GQuarks are not exported by any public API, use
* GST_META_TAG_MEMORY_STR instead.
*/
+#ifndef GST_DISABLE_DEPRECATED
#define GST_META_TAG_MEMORY (_gst_meta_tag_memory)
+#endif
G_END_DECLS