bufferpool: improve docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Feb 2012 14:32:19 +0000 (15:32 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 23 Feb 2012 14:32:19 +0000 (15:32 +0100)
gst/gstbufferpool.h

index 7c209eb..c2f9207 100644 (file)
@@ -138,7 +138,9 @@ struct _GstBufferPool {
  *        be released when there are no buffers available.
  * @alloc_buffer: allocate a buffer. the default implementation allocates
  *        buffers from the default memory allocator and with the configured
- *        size, prefix and alignment.
+ *        size, prefix and alignment. All metadata that is present on the
+ *        allocated buffer will be marked as #GST_META_FLAG_POOLED and will not
+ *        be removed from the buffer in @reset_buffer.
  * @reset_buffer: reset the buffer to its state when it was freshly allocated.
  *        The default implementation will clear the flags, timestamps and
  *        will remove the metadata added after alloc_buffer.