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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 21 09:50:35 UTC 2016


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #324416|none                        |reviewed
             status|                            |

--- Comment #18 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Comment on attachment 324416
  --> https://bugzilla.gnome.org/attachment.cgi?id=324416
tee: fix race condition while forwarding sticky events

I think instead of all this it would then be better to add some kind of events
cookie (e.g. a simple counter) and before pushing a buffer always check if it's
up to date and otherwise update the sticky events before pushing. That works
without yet another (recursive!) mutex and should be simpler.

The same bug is probably in other elements too, e.g. output-selector

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