From 7742f0a0d35cf0b25ec0378dadcc547708a5d41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 3 Apr 2015 13:19:13 -0700 Subject: [PATCH] basesrc: Fix documentation, buffer pools are unreffed and not freed --- libs/gst/base/gstbasesrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index 912172b23e..b1f9c2961e 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -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,