imagefreeze: Protect the flushing-seek variable by the srcpad's stream lock
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 20 Aug 2010 08:24:33 +0000 (10:24 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 4 Sep 2010 12:52:08 +0000 (14:52 +0200)
commite51fe6c1814c6048fd46e93b917bcf054aba3c31
tree19b78035fa6e02e21f730ca54bcd2217ebe0df70
parentd8ef9bb6917414f0d357d149fa1449f7d3855206
imagefreeze: Protect the flushing-seek variable by the srcpad's stream lock

This fixes a subtle race condition, that caused bufferalloc to fail
with wrong-state due to a seek but caused it to be not retried as
it should.
gst/imagefreeze/gstimagefreeze.c
gst/imagefreeze/gstimagefreeze.h