Fix some incorrect comments caused by recent checkins
authorDavid Schleef <ds@schleef.org>
Sun, 11 Jan 2004 22:46:22 +0000 (22:46 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 11 Jan 2004 22:46:22 +0000 (22:46 +0000)
Original commit message from CVS:
Fix some incorrect comments caused by recent checkins

gst/gstbuffer.h
gst/gstpad.c

index c753982..3d4b37d 100644 (file)
@@ -104,9 +104,7 @@ struct _GstBuffer {
   guint64               offset;
   guint64               offset_end;
 
-  /* this is a pointer to the buffer pool (if any) */
   GstBufferFreeDataFunc  free_data;
-  /* pointer to pool private data of parent buffer in case of a subbuffer */
   gpointer              buffer_private;
 
   gpointer _gst_reserved[GST_PADDING];
@@ -145,7 +143,6 @@ GstBuffer*  gst_buffer_span                 (GstBuffer *buf1, guint32 offset, GstBuffer *buf2,
 /* --- private --- */
 void           _gst_buffer_initialize          (void);
 
-/* functions used by subclasses and bufferpools */
 void           gst_buffer_default_free         (GstBuffer *buffer);
 GstBuffer*     gst_buffer_default_copy         (GstBuffer *buffer);
 
index 3e6ad9e..9f2a866 100644 (file)
@@ -849,7 +849,7 @@ gst_pad_set_getcaps_function (GstPad *pad,
 /**
  * gst_pad_set_bufferalloc_function:
  * @pad: a #GstPad to set the bufferalloc function for.
- * @bufalloc: the #GstPadBufferPoolFunction to set.
+ * @bufalloc: the #GstPadBufferAllocFunction to set.
  *
  * Sets the given bufferalloc function for the pad. Note that the
  * bufferalloc function can only be set on sinkpads.