From 75e0a3c676842227b602592b6f159c28f2c7e833 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Thu, 5 Jun 2014 16:55:15 -0700 Subject: [PATCH] dataqueue: clear up documentation of gst_data_queue_new The gpointer argument is passed to all three callbacks, not just one. https://bugzilla.gnome.org/show_bug.cgi?id=731302 --- libs/gst/base/gstdataqueue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/gst/base/gstdataqueue.c b/libs/gst/base/gstdataqueue.c index 0e57794dbc..e34b2655b8 100644 --- a/libs/gst/base/gstdataqueue.c +++ b/libs/gst/base/gstdataqueue.c @@ -214,7 +214,8 @@ gst_data_queue_init (GstDataQueue * queue) * or not. * @fullcallback: the callback which will be called when the queue is considered full. * @emptycallback: the callback which will be called when the queue is considered empty. - * @checkdata: a #gpointer that will be given in the @checkfull callback. + * @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