valve: Make the drop variable into an atomic.
authorOlivier Crête <olivier.crete@collabora.co.uk>
Thu, 30 Sep 2010 20:26:19 +0000 (16:26 -0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:51:11 +0000 (00:51 +0000)
commit11eb6ef836920c281683abd5d8c5702b11fd261b
treee4bbed147e63dc412394bd45e3958a2365395e03
parent473be88d5d187ecd1b445137683ae7621d0662b1
valve: Make the drop variable into an atomic.

Using an atomic allows us to avoid locking the whole object all time time.
As suggested by Stefan Kost.
plugins/elements/gstvalve.c
plugins/elements/gstvalve.h