baseaudiovisualizer: fix last block condition
authorStefan Kost <ensonic@users.sf.net>
Mon, 6 Jun 2011 12:20:30 +0000 (15:20 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 6 Jun 2011 12:25:14 +0000 (15:25 +0300)
commitf7fe0c9e6fc4a246152674aee060f0a4d865f66f
treebc43945e0699315a73ae125d7ddb00a424bf3056
parent594134d1398a02029584524412fb58e04f26bbe1
baseaudiovisualizer: fix last block condition

Also push out the last frame if we have exact amount of samples. Fix the adapter
flushing to not cause endless loops. Drop a redundant avail() check.
gst/audiovisualizers/gstbaseaudiovisualizer.c