tee: Lock mutex before reading the removed flag of the pads
authorSebastian Dröge <sebastian@centricular.com>
Thu, 24 Oct 2019 22:39:05 +0000 (01:39 +0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 26 Oct 2019 19:56:19 +0000 (20:56 +0100)
commit94c765a173e524272ce296871b5382cf4357579c
tree3b0714090f57d3a7958fa588644c53162dccf337
parente6f55805b49336ad1cf294be21259a40afe5e5cb
tee: Lock mutex before reading the removed flag of the pads

Otherwise we're not guaranteed to read the very latest value that
another thread might've written in there when the pad was released, and
could instead work with an old value.
plugins/elements/gsttee.c