[Bug 677898] gst_task_set_thread_callback_funcs is not binding-friendly
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Jun 20 02:44:13 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=677898
GStreamer | gstreamer (core) | git
--- Comment #2 from Evan Nemerson <evan at coeus-group.com> 2012-06-20 09:44:08 UTC ---
That sounds good to me.
Do you really ever see adding new callbacks? If not,
gst_task_set_thread_callbacks could be re-purposed as a convenience method for
C programmers who want to use the same user data and destroy notify for both:
gst_task_set_thread_callbacks (GstTask *task,
GstTaskThreadFunc enter_thread,
GstTaskThreadFunc leave_thread,
gpointer user_data,
GDestroyNotify notify);
Of course, even if you don't want to add a callback, there could be
gst_task_set_thread_callbacks_full, or gst_task_set_thread_callbacks_with_foo,
etc.
--
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