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

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


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

--- Comment #12 from Miguel París Díaz <mparisdiaz at gmail.com> ---
@slomo, I agree with your explanation and this is what does NOT happen when
gst_element_set_state (pipeline, GST_STATE_NULL). Because of that the deadlock
;(.
The test is a simple way of simulate the situation.

If I am not wrong, the root of the problem is that when the pipeline is set to
NULL:
 1 - All elements of the pipeline are set to PAUSED
 2 - All elements of the pipeline are set to READY
 3 - All elements of the pipeline are set to NULL
and in the (1) step the pipeline is deadlocked.

So, what can we do to fix this issue?
There is a way of checking that the BaseSink is going to NULL state to not wait
for prerolling?

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