[Bug 752213] tee: Avoid race condition while forwarding sticky events

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 10 03:03:59 PDT 2015


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

--- Comment #2 from Jose Antonio Santos Cadenas <santoscadenas at gmail.com> ---
I've tried to push sticky events on chain function, using a flag to check if
they were synchronized or not, but the patch becomes too complicated, because
if the next we receive is not data but an event we have to forward events too
(otherwise we can have the warning of receiving sticky events missordered), but
I think that is too much overhead to check all the source pads sticky events
whenever we receive an event at sink pad.

I think that getting the stream mutex is less harmful than have to increase
complexity whenever we are receiving events and/or buffers.

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