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
/**
* 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.
/**
* 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.