[Bug 677898] New: gst_task_set_thread_callback_funcs is not binding-friendly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 11 13:59:09 PDT 2012


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

           Summary: gst_task_set_thread_callback_funcs is not
                    binding-friendly
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: evan at coeus-group.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=216153)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=216153)
task: add gst_task_set_thread_callback_funcs and GstTaskThreadFunc

gst_task_set_thread_callback_funcs (and GstTaskThreadFunc) are not very
friendly to bindings.

The (currently untested) attached patch creates the following API:


typedef void (*GstTaskThreadFunc) (GstTask *task, GThread *thread, gpointer
user_data);

void
gst_task_set_thread_callback_funcs (GstTask * task,
                                    GstTaskThreadFunc enter_thread,
                                    gpointer enter_thread_data,
                                    GDestroyNotify enter_thread_notify,
                                    GstTaskThreadFunc leave_thread,
                                    gpointer leave_thread_data,
                                    GDestroyNotify leave_thread_notify);


It also adds g-i annotations to skip the old API.

-- 
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