memory: fix more docs

This commit is contained in:
Wim Taymans 2012-02-18 01:04:18 +01:00
parent f730ab02a4
commit d09073b755

View file

@ -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 * All functions in @info are mandatory exept the copy and is_span
* functions, which will have a default implementation when left NULL. * 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 * The @user_data will be passed to all calls of the alloc function. @notify
* @notify function. * will be called with @user_data when the allocator is freed.
* *
* Returns: a new #GstAllocator. * 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 * Get the memory type allocated by this allocator
* *
* Returns: @allocator with increased refcount * Returns: the memory type provided by @allocator
*/ */
const gchar * const gchar *
gst_allocator_get_memory_type (GstAllocator * allocator) gst_allocator_get_memory_type (GstAllocator * allocator)
@ -858,8 +858,8 @@ gst_allocator_ref (GstAllocator * allocator)
* gst_allocator_unref: * gst_allocator_unref:
* @allocator: a #GstAllocator * @allocator: a #GstAllocator
* *
* Decreases the refcount of @allocator. When the refcount reaches 0, the free * Decreases the refcount of @allocator. When the refcount reaches 0, the notify
* function of @allocator will be called. * function of @allocator will be called and the allocator will be freed.
*/ */
void void
gst_allocator_unref (GstAllocator * allocator) gst_allocator_unref (GstAllocator * allocator)