memory: fix some typos
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Jun 2011 15:34:17 +0000 (17:34 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Jun 2011 15:34:17 +0000 (17:34 +0200)
gst/gstmemory.h

index 273fa66..3d9493c 100644 (file)
@@ -105,12 +105,12 @@ typedef enum {
 #define GST_MEMORY_TRACE_NAME           "GstMemory"
 
 /**
- * GstMemoryGetSizesFunction:
+ * GstMemoryAllocFunction:
  * @maxsize: the maxsize
  * @align: the alignment
  *
- * Allocate a new #GstMemory that hold at least @maxsize bytes and is aligned to
- * (@align + 1) bytes.
+ * Allocate a new #GstMemory that can hold at least @maxsize bytes and is aligned
+ * to (@align + 1) bytes.
  *
  * Returns: a newly allocated #GstMemory. Free with gst_memory_unref()
  */
@@ -278,7 +278,7 @@ void        gst_memory_unref      (GstMemory *mem);
 gsize       gst_memory_get_sizes  (GstMemory *mem, gsize *maxsize);
 void        gst_memory_resize     (GstMemory *mem, gsize offset, gsize size);
 
-/* retriveing data */
+/* retrieving data */
 gpointer    gst_memory_map        (GstMemory *mem, gsize *size, gsize *maxsize,
                                    GstMapFlags flags);
 gboolean    gst_memory_unmap      (GstMemory *mem, gpointer data, gsize size);