bufferpool: fix some docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 27 Apr 2011 15:56:12 +0000 (17:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 27 Apr 2011 15:56:12 +0000 (17:56 +0200)
docs/design/draft-bufferpool.txt
gst/gstbufferpool.c

index 4061ee7..c59b1be 100644 (file)
@@ -111,7 +111,7 @@ negotiate a buffer pool with the downstream element. We propose a simple
 scheme where a sink can propose a bufferpool and some configuration and where
 the source can choose to use this allocator or use its own.
 
-The algorithm for doing this is rougly like this:
+The algorithm for doing this is roughly like this:
 
 
    /* srcpad knows media type and size of buffers and is ready to
index 6e85495..7ae314e 100644 (file)
@@ -486,7 +486,8 @@ gst_buffer_pool_get_config (GstBufferPool * pool)
 
 /**
  * gst_buffer_pool_config_set:
- * @pool: a #GstBufferPool
+ * @config: a #GstBufferPool
+ * @caps: caps for the buffers
  * @size: the size of each buffer, not including pre and post fix
  * @min_buffers: the minimum amount of buffers to allocate.
  * @max_buffers: the maximum amount of buffers to allocate or 0 for unlimited.
@@ -515,7 +516,8 @@ gst_buffer_pool_config_set (GstStructure * config, const GstCaps * caps,
 
 /**
  * gst_buffer_pool_config_get:
- * @pool: a #GstBufferPool
+ * @config: a #GstBufferPool
+ * @caps: the caps of buffers
  * @size: the size of each buffer, not including pre and post fix
  * @min_buffers: the minimum amount of buffers to allocate.
  * @max_buffers: the maximum amount of buffers to allocate or 0 for unlimited.