[Bug 757337] New: adaptivedemux: release manifest lock before sending flush stop event

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 29 16:59:13 PDT 2015


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

            Bug ID: 757337
           Summary: adaptivedemux: release manifest lock before sending
                    flush stop event
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florin.apostol at oregan.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

sending flush stop event will serialiase on stream->src_srcpad.
But the _src_chain function will first get the pad lock and then the
manifest lock, so we cannot hold the manifest lock while sending the flush stop
event (taking locks in reverse order will lead to deadlock)

In conclusion, we need to release the manifest lock before flushing.

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