[Bug 766064] basesink: deadlock waiting prerolling while pipeline goes to NULL state

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 6 20:58:46 UTC 2016


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

--- Comment #13 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Your problem is that you don't set the pipeline to NULL state, but some element
that is upstream of a sink while its streaming thread is busy inside the sink.
This can't work and will block the state change until something is shutting
down the sink (or flushing it).

If you set the pipeline to NULL state it should work just fine, as the state
changes are happening from sink to source.


It all seems to be behaving like it should, no? If you want to shut down just
the upstream part of a pipeline you need to ensure that none of the streaming
threads of that part are blocked somewhere downstream.

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