[Bug 764939] gstbasesink: deadlock caused by klass->wait_event() which leaves preroll mutex locked

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 12 12:12:24 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
You shouldn't do that (wait_event is supposed to be called by the base class),
but also the way how it's used in the base class is wrong:
gst_base_sink_default_wait_event() calls do_sync(), which must be called with
the STREAM_LOCK (it is in all cases) and the PREROLL_LOCK (it is not in all
cases).

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