audiovisualizer: don't use private GMutex implementation details
authorTim-Philipp Müller <tim@centricular.com>
Mon, 16 Feb 2015 23:54:28 +0000 (23:54 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 17 Feb 2015 09:56:55 +0000 (09:56 +0000)
commite9141b718b3f1c3af92898f2982e188ea42b746a
treeecb6a64768a746de854c752a675f1d0515ed6dc6
parent0fd6872f7d831c11e59d203695ff8d3c0d355b83
audiovisualizer: don't use private GMutex implementation details

Don't use private GMutex implementation details to check
whether it has been freed already or not. Just turn dispose
function into finalize function which will only be called
once, that way we can just clear the mutex unconditionally.
gst/audiovisualizers/gstaudiovisualizer.c