bufferpool: fix some docs

This commit is contained in:
Wim Taymans 2011-04-27 17:56:12 +02:00
parent a61e0e5bde
commit 442193f3f3
2 changed files with 5 additions and 3 deletions

View 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 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 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 /* srcpad knows media type and size of buffers and is ready to

View file

@ -486,7 +486,8 @@ gst_buffer_pool_get_config (GstBufferPool * pool)
/** /**
* gst_buffer_pool_config_set: * 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 * @size: the size of each buffer, not including pre and post fix
* @min_buffers: the minimum amount of buffers to allocate. * @min_buffers: the minimum amount of buffers to allocate.
* @max_buffers: the maximum amount of buffers to allocate or 0 for unlimited. * @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: * 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 * @size: the size of each buffer, not including pre and post fix
* @min_buffers: the minimum amount of buffers to allocate. * @min_buffers: the minimum amount of buffers to allocate.
* @max_buffers: the maximum amount of buffers to allocate or 0 for unlimited. * @max_buffers: the maximum amount of buffers to allocate or 0 for unlimited.