summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-02-18 01:04:18 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-02-18 01:04:18 +0100
commitd09073b755b90149345d413fc0cdc346dcc2cbd1 (patch)
tree6700a61e490d5de3c4a0d20d880dc74aed18ec2b
parentf730ab02a424ce3d290d401f560359165c470841 (diff)
memory: fix more docs
-rw-r--r--gst/gstmemory.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/gstmemory.c b/gst/gstmemory.c
index e72d5510a..2cc37f60d 100644
--- a/gst/gstmemory.c
+++ b/gst/gstmemory.c
@@ -778,8 +778,8 @@ gst_memory_is_span (GstMemory * mem1, GstMemory * mem2, gsize * offset)
* All functions in @info are mandatory exept the copy and is_span
* functions, which will have a default implementation when left NULL.
*
- * The @user_data will be passed to all calls of the alloc function and the
- * @notify function.
+ * The @user_data will be passed to all calls of the alloc function. @notify
+ * will be called with @user_data when the allocator is freed.
*
* Returns: a new #GstAllocator.
*/
@@ -823,7 +823,7 @@ gst_allocator_new (const GstMemoryInfo * info, gpointer user_data,
*
* Get the memory type allocated by this allocator
*
- * Returns: @allocator with increased refcount
+ * Returns: the memory type provided by @allocator
*/
const gchar *
gst_allocator_get_memory_type (GstAllocator * allocator)
@@ -858,8 +858,8 @@ gst_allocator_ref (GstAllocator * allocator)
* gst_allocator_unref:
* @allocator: a #GstAllocator
*
- * Decreases the refcount of @allocator. When the refcount reaches 0, the free
- * function of @allocator will be called.
+ * Decreases the refcount of @allocator. When the refcount reaches 0, the notify
+ * function of @allocator will be called and the allocator will be freed.
*/
void
gst_allocator_unref (GstAllocator * allocator)