From c2251609353e3cd3ed5370b13f793898c5d35c1a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 11 Jan 2004 22:46:22 +0000 Subject: [PATCH] Fix some incorrect comments caused by recent checkins Original commit message from CVS: Fix some incorrect comments caused by recent checkins --- gst/gstbuffer.h | 3 --- gst/gstpad.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index c75398229e..3d4b37db99 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -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); diff --git a/gst/gstpad.c b/gst/gstpad.c index 3e6ad9ee56..9f2a8667c3 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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.