[Bug 796737] ASYNC_DONE message is dropped leading to hanging application

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 11 12:43:17 UTC 2018


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

--- Comment #11 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Joakim Johansson from comment #10)

> I will see if I can solve our problem from the application side

It would be a workaround, yes :)

> but then
> again, you still have a race condition in gstreamer where the async_done can
> be dropped.

Agreed, but I'm not sure at this point what the correct behaviour would even be
in this case. There are conflicting requirements here.

Generally you will run into problems with the current state design if you have
bottom-up state changes (flushing/lost-state and async-start) mixed with
top-down state changes (set_state()). And giving preference to either of the
two over the other, or even performing them both, can lead to wrong situations
from what I can see.

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