[Bug 755169] dashdemux: can we have multiple seek events at the same time?

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Sep 25 03:39:34 PDT 2015


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

--- Comment #46 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> ---
(In reply to Florin Apostol from comment #44)

> A recursive mutex is dangerous. We really should understand why it is
> needed. I think it can be avoided. The original developer avoided it in one
> scenario using demux->priv->exposing. Maybe we can do this here too, for the
> particular scenario that caused you problems.

That particular sequence of events leading this this reentrant call happens
when starting playback:

gst_adaptive_demux_sink_event is called with GST_EVENT_EOS, ends up calling
_expose_streams, which adds pads. Pads get link, and a RECONFIGURE event gets
emitted, calling gst_adaptive_demux_src_event.

This happens when exposing, and the exposing flag is TRUE. Using that flag to
avoid locking/unlocking happens to work.

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