bufferpool: clarify docs
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 6 Dec 2012 08:48:08 +0000 (09:48 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 10 Dec 2012 13:44:41 +0000 (13:44 +0000)
gst/gstbufferpool.h

index e14855b8e8798d3b5d38252109ae1d6e709e9e3d..b718f995a798dbd7b1edab830fb7c278e70efbaf 100644 (file)
@@ -44,8 +44,9 @@ typedef struct _GstBufferPoolClass GstBufferPoolClass;
  * GstBufferPoolAcquireFlags:
  * @GST_BUFFER_POOL_ACQUIRE_FLAG_NONE: no flags
  * @GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT: buffer is keyframe
- * @GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT: don't wait for buffer. This makes the
- * acquire_buffer method return GST_FLOW_EOS.
+ * @GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT: when the bufferpool is empty, acquire_buffer
+ * will by default block until a buffer is released into the pool again. Setting
+ * this flag makes acquire_buffer return #GST_FLOW_EOS instead of blocking.
  * @GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT: buffer is discont
  * @GST_BUFFER_POOL_ACQUIRE_FLAG_LAST: last flag, subclasses can use private flags
  *    starting from this value.