*/
typedef void (*GstMetaFreeFunction) (GstMeta *meta, GstBuffer *buffer);
+/**
+ * GstMetaCopyFunction:
+ * @dest: a destination #GstBuffer
+ * @meta: a #GstMeta
+ * @buffer: a #GstBuffer
+ * @offset: an offset
+ * @size: a size
+ *
+ * Function called when the region at @offset and @size in @buffer is copied
+ * into @dest. The function should update the metadata on @dest using @meta.
+ */
typedef void (*GstMetaCopyFunction) (GstBuffer *dest, GstMeta *meta,
GstBuffer *buffer, gsize offset, gsize size);
/**
GstMetaCopyFunction copy_func;
GstMetaTransformFunction transform_func;
+ /*< private >*/
gpointer _gst_reserved[GST_PADDING];
};
* @getrangefunc: function to get a range of data from a pad
* @eventfunc: function to send an event to a pad
* @offset: the pad offset
- * @querytypefunc: get list of supported queries
* @queryfunc: perform a query on the pad
* @iterintlinkfunc: get the internal links iterator of this pad
*
* @GST_QUERY_ALLOCATION: the buffer allocation properties
* @GST_QUERY_SCHEDULING: the scheduling properties
* @GST_QUERY_ACCEPT_CAPS: the accept caps query
+ * @GST_QUERY_LAST: last defined query value
*
* Standard predefined Query types
*/