fix docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 14 Nov 2011 09:27:01 +0000 (10:27 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 14 Nov 2011 09:27:01 +0000 (10:27 +0100)
gst/gstbufferpool.h
gst/gstmemory.h
gst/gstmeta.h
gst/gstpad.h
gst/gstquery.h

index 678abd8..a05b84e 100644 (file)
@@ -90,6 +90,7 @@ typedef struct _GstBufferPoolParams {
   gint64             stop;
   GstBufferPoolFlags flags;
 
+  /*< private >*/
   gpointer _gst_reserved[GST_PADDING];
 } GstBufferPoolParams;
 
index 03fae25..da1bf6b 100644 (file)
@@ -266,6 +266,7 @@ struct _GstMemoryInfo {
 
   gpointer user_data;
 
+  /*< private >*/
   gpointer _gst_reserved[GST_PADDING];
 };
 
index e54aeb8..343657b 100644 (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];
 };
 
index 520912d..ae1891f 100644 (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
  *
index db0e9e4..dc39ee1 100644 (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
  */