[Bug 677898] gst_task_set_thread_callback_funcs is not binding-friendly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 20 02:27:41 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677898
  GStreamer | gstreamer (core) | git

--- Comment #1 from Wim Taymans <wim.taymans at gmail.com> 2012-06-20 09:27:34 UTC ---
I don't like this, the point of the structure with callbacks was to be able to
add more callbacks later when needed. Now with the method we need to add a new
method and deprecate the old one.

Maybe we should get rid of the structure of callbacks and just do

gst_task_set_thread_enter_callback (GstTask *task, 
                                    GstTaskThreadFunc enter_thread,
                                    gpointer user_data,
                                    GDestroyNotify notify);
gst_task_set_thread_leave_callback (GstTask *task, 
                                    GstTaskThreadFunc leave_thread,
                                    gpointer user_data,
                                    GDestroyNotify notify);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list