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.
This commit is contained in:
Jan Schmidt 2014-10-24 21:25:54 +11:00
parent 56606c5264
commit f470d57edd

View file

@ -217,9 +217,10 @@ gst_data_queue_init (GstDataQueue * queue)
* @checkdata: a #gpointer that will be passed to the @checkfull, @fullcallback, * @checkdata: a #gpointer that will be passed to the @checkfull, @fullcallback,
* and @emptycallback callbacks. * and @emptycallback callbacks.
* *
* Creates a new #GstDataQueue. The difference with @gst_data_queue_new is that it will * Creates a new #GstDataQueue. If @fullcallback or @emptycallback are supplied, then
* not emit the 'full' and 'empty' signals, but instead calling directly @fullcallback * the #GstDataQueue will call the respective callback to signal full or empty condition.
* or @emptycallback. * If the callbacks are NULL the #GstDataQueue will instead emit 'full' and 'empty'
* signals.
* *
* Returns: a new #GstDataQueue. * Returns: a new #GstDataQueue.
* *