basesrc: Fix documentation, buffer pools are unreffed and not freed
authorSebastian Dröge <sebastian@centricular.com>
Fri, 3 Apr 2015 20:19:13 +0000 (13:19 -0700)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 3 Apr 2015 20:19:33 +0000 (13:19 -0700)
libs/gst/base/gstbasesrc.c

index 912172b23e5ce967900a38ec1dd465182e87ef37..b1f9c2961e0ad16408862877b65a67655d05eeab 100644 (file)
@@ -3865,7 +3865,7 @@ failure:
  * @src: a #GstBaseSrc
  *
  * Returns: (transfer full): the instance of the #GstBufferPool used
- * by the src; free it after use it
+ * by the src; unref it after usage.
  */
 GstBufferPool *
 gst_base_src_get_buffer_pool (GstBaseSrc * src)
@@ -3889,7 +3889,7 @@ gst_base_src_get_buffer_pool (GstBaseSrc * src)
  * Lets #GstBaseSrc sub-classes to know the memory @allocator
  * used by the base class and its @params.
  *
- * Unref the @allocator after use it.
+ * Unref the @allocator after usage.
  */
 void
 gst_base_src_get_allocator (GstBaseSrc * src,