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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 29 08:04:00 UTC 2016


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

--- Comment #25 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Created attachment 324924
  --> https://bugzilla.gnome.org/attachment.cgi?id=324924&action=edit
tee: Prevent race condition between adding pads and forwarding sticky events

Between copying all sticky events to the new pad and adding it to the element,
a new sticky event might arrive that would then never be forwarded to the new
pad. To be forwarded automatically it would have to be added to the element
already.

Instead just remember when we have to recheck sending sticky events and do so
in the chain function if needed.

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