This commit is contained in:
Wim Taymans 2011-11-14 10:27:01 +01:00
parent faf31366ab
commit d1a8695470
5 changed files with 15 additions and 1 deletions

View file

@ -90,6 +90,7 @@ typedef struct _GstBufferPoolParams {
gint64 stop;
GstBufferPoolFlags flags;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
} GstBufferPoolParams;

View file

@ -266,6 +266,7 @@ struct _GstMemoryInfo {
gpointer user_data;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
};

View file

@ -65,6 +65,17 @@ typedef gboolean (*GstMetaInitFunction) (GstMeta *meta, gpointer params, GstBuff
*/
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);
/**
@ -107,6 +118,7 @@ struct _GstMetaInfo {
GstMetaCopyFunction copy_func;
GstMetaTransformFunction transform_func;
/*< private >*/
gpointer _gst_reserved[GST_PADDING];
};

View file

@ -616,7 +616,6 @@ typedef enum {
* @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
*

View file

@ -56,6 +56,7 @@ G_BEGIN_DECLS
* @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
*/