[gstreamer-bugs] [Bug 352345] Small race condition in the queue element

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Oct 11 03:13:02 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=352345

  GStreamer | gstreamer (core) | Ver: 0.10.x


Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74039|none                        |committed
               Flag|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.11




------- Comment #3 from Wim Taymans  2006-10-11 10:12 UTC -------
I moved the code in the leak_downstream case because we still want to emit the
running signal in the normal non-leaky behaviour.

        Patch by: Sjoerd Simons <sjoerd at luon dot net>

        * plugins/elements/gstqueue.c: (gst_queue_chain):
        Recheck queue filledness after signalling the overrun when we're about
        to leak downstream because we released the lock when emitting the
signal
        and the queue could be empty again. Fixes #352345.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list