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

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


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

--- Comment #15 from mariuszb <mariusz.buras at gmail.com> ---
In our use case, which is HLS, if we called basesink event() straight from our
funsink_event() then we wouldn't be able to seek or pause for the remaining few
seconds of the stream. This is why we've deferred the call to the base class.
When that eventually happens gst_fun_sink_wait_until_empty() will return
immediatly becasuse it's already called from decoder fifo empty handler.

We shouldn't be calling gst_fun_sink_wait_until_empty() in the example above
because it has no effect.

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