audioresample: Add locking to protect the resampling context
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 15 Feb 2009 06:30:17 +0000 (07:30 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 15 Feb 2009 06:30:17 +0000 (07:30 +0100)
commit6c28744f769c6caf460e1eb6148ebdb4ae62d893
tree8816badeb043bf1e0cccf63e60150562a94d157d
parentc080bfae6de775d25d041520808ae686bad7cf0a
audioresample: Add locking to protect the resampling context

When setting the quality/filter-length while PLAYING the
resampling context will be destroyed and created again in
some cases, which will cause crashes in the transform function
if it's called at that time.
gst/audioresample/gstaudioresample.c