[gstreamer-bugs] [Bug 612881] New: gsttee: more threadunsafeness...

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 14 09:22:36 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=612881
  GStreamer | gst-plugins | unspecified

           Summary: gsttee: more threadunsafeness...
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: havard.graff at tandberg.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=156125)
 View: https://bugzilla.gnome.org/attachment.cgi?id=156125
 Review: https://bugzilla.gnome.org/review?bug=612881&attachment=156125

proposed patch

When setcaps is called on gsttee's sinkpad, it will make an iterator over all
the srcpads. While it is iterating, the padlist might change with requestpads
being requested or released, which again will make the iteration abort, and
setcaps fail.

This solution proposes a separate lock to serialize the sinkpad setcaps and the
adding and removing of pads to the element.

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