[Bug 734688] gsttask: Deadlock when running gst_task_join()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 19 10:08:13 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734688
  GStreamer | gstreamer (core) | 1.2.4

--- Comment #13 from Linus Svensson <linus.svensson at axis.com> 2014-08-19 17:08:11 UTC ---
I have located the problem that happened.

We serve an RTSP TEARDOWN request which makes the pipeline to change state to
NULL. At the same time the src element sends FLUSH_START and FLUSH_STOP. If the
pipeline is doing the PAUSED->READY transition and the FLUSH_STOP arrives at
the queue, the queue will create a new task that is never ended.

This src element is a bin element (filesrc ! matroskademux ! multiqueue) that
plays a sequence of matroska files and demuxes them to one stream. It will send
FLUSH_START+FLUSH_STOP if it's in state PAUSED when it changes file to avoid a
deadlock when multiqueue is full. When changing matroska file, the filesrc and
matroskademux will temporarily be lowered to state READY in order to change the
location property of the file src.

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