From d1a86954704f5784844e8449ae6c4de705c0891c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 14 Nov 2011 10:27:01 +0100 Subject: [PATCH] fix docs --- gst/gstbufferpool.h | 1 + gst/gstmemory.h | 1 + gst/gstmeta.h | 12 ++++++++++++ gst/gstpad.h | 1 - gst/gstquery.h | 1 + 5 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gst/gstbufferpool.h b/gst/gstbufferpool.h index 678abd8c4f..a05b84e01f 100644 --- a/gst/gstbufferpool.h +++ b/gst/gstbufferpool.h @@ -90,6 +90,7 @@ typedef struct _GstBufferPoolParams { gint64 stop; GstBufferPoolFlags flags; + /*< private >*/ gpointer _gst_reserved[GST_PADDING]; } GstBufferPoolParams; diff --git a/gst/gstmemory.h b/gst/gstmemory.h index 03fae2578c..da1bf6bb8e 100644 --- a/gst/gstmemory.h +++ b/gst/gstmemory.h @@ -266,6 +266,7 @@ struct _GstMemoryInfo { gpointer user_data; + /*< private >*/ gpointer _gst_reserved[GST_PADDING]; }; diff --git a/gst/gstmeta.h b/gst/gstmeta.h index e54aeb85f8..343657b32a 100644 --- a/gst/gstmeta.h +++ b/gst/gstmeta.h @@ -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]; }; diff --git a/gst/gstpad.h b/gst/gstpad.h index 520912d894..ae1891fe68 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -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 * diff --git a/gst/gstquery.h b/gst/gstquery.h index db0e9e4f00..dc39ee153e 100644 --- a/gst/gstquery.h +++ b/gst/gstquery.h @@ -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 */