From f470d57edd52aa01bb3088961d0ef3f7431953fc Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 24 Oct 2014 21:25:54 +1100 Subject: [PATCH] dataqueue: Fix gst_data_queue_new() description. Reword the function docs, which haven't made any sense since gst_data_queue_new_full() was removed a few years ago. --- libs/gst/base/gstdataqueue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libs/gst/base/gstdataqueue.c b/libs/gst/base/gstdataqueue.c index 6f61062217..2f9c16a3aa 100644 --- a/libs/gst/base/gstdataqueue.c +++ b/libs/gst/base/gstdataqueue.c @@ -217,9 +217,10 @@ gst_data_queue_init (GstDataQueue * queue) * @checkdata: a #gpointer that will be passed to the @checkfull, @fullcallback, * and @emptycallback callbacks. * - * Creates a new #GstDataQueue. The difference with @gst_data_queue_new is that it will - * not emit the 'full' and 'empty' signals, but instead calling directly @fullcallback - * or @emptycallback. + * Creates a new #GstDataQueue. If @fullcallback or @emptycallback are supplied, then + * the #GstDataQueue will call the respective callback to signal full or empty condition. + * If the callbacks are NULL the #GstDataQueue will instead emit 'full' and 'empty' + * signals. * * Returns: a new #GstDataQueue. *