[Bug 679950] [pad] gst_pad_set_blocked_async in rare cases calls callback twice

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jul 16 06:31:06 PDT 2012


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

Wim Taymans <wim.taymans> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.37

--- Comment #8 from Wim Taymans <wim.taymans at gmail.com> 2012-07-16 13:31:01 UTC ---
commit cce71223d7b2f8227301f0724a18fc647f0cfd06
Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Mon Jul 16 15:25:46 2012 +0200

    pad: don't call pad block callbacks multiple times

    Ensure that when multiple threads try to block a pad, only one of the
threads
    calls the callback. We do this by checking if the callback was already
called.
    The previous version unconditionally called the callback and then checked
if it
    was already called...
    Also only call the unblock callback once from the first thread that
unblocks.

    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679950

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