[gstreamer-bugs] [Bug 405284] New: Changing state of pipeline can lock up with preroll queue length > 0

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Feb 7 01:36:38 PST 2007


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

  GStreamer | gstreamer (core) | Ver: 0.10.11

           Summary: Changing state of pipeline can lock up with preroll
                    queue length > 0
           Product: GStreamer
           Version: 0.10.11
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: will.newton at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Changing the state of a pipeline with a sink with a preroll queue length
greater than 0 can lockup. I have attached a modified version of the stress.c
testcase that demonstrates the problem.

I found a possible fix for the problem - add code after the FIXME in
gst_base_sink_queue_object_unlocked (around line 1740 current CVS) to check the
return value of gst_base_sink_render_object and cleanup and return if it's not
equal to GST_FLOW_OK.


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




More information about the Gstreamer-bugs mailing list