GNOME Bugzilla – Bug 731303
dataqueue: add bindings-friendly gst_data_queue_new_full()
Last modified: 2014-06-28 08:31:00 UTC
How about GstDataQueue * gst_data_queue_new_full (GstDataQueueCheckFullFunction checkfull, gpointer checkfull_data, GDestroyNotify checkfull_free, GstDataQueueFullCallback fullcallback, gpointer fullcallback_data, GDestroyNotify fullcallback_free, GstDataQueueEmptyCallback emptycallback, gpointer emptycallback_data, GDestroyNotify emptycallback_free) G_GNUC_MALLOC;
I don't know what the chances are that anyone will actually need this in practice... maybe we should just mark it as (skip) until someone asks for it.
If you wait until someone asks then it will not be in available on their system for quite a while--probably not until then next stable release, which are painfully rare for some systems (RHEL, Ubuntu LTS, Debian Stable, etc.), and by then it may be too late for them to use it. Also, people who need it may not bother reporting the issue--they may just move on. The fix is pretty easy, and it's not a big maintenance burden, so I don't see much of a reason to hold off.
This API is mostly useless for other languages. They have their own data structures. We should just hide it from introspection.
commit 4720e6d0e0327fe5e8cf83e03a00e57540b6c943 Author: Sebastian Dröge <sebastian@centricular.com> Date: Thu Jun 26 19:31:33 2014 +0200 dataqueue: Hide from bindings Other languages have their own data structures that are more convenient to use. https://bugzilla.gnome.org/show_bug.cgi?id=731303