visual: fix caps leak
authorLuis de Bethencourt <luis.bg@samsung.com>
Wed, 21 Jan 2015 15:22:15 +0000 (15:22 +0000)
committerLuis de Bethencourt <luis.bg@samsung.com>
Wed, 21 Jan 2015 15:22:15 +0000 (15:22 +0000)
commit945afe6cc4c4f0a7762d34ed38f15083d2124b81
tree42c44b902d8f125042325df71e8f58c07eac1903
parent684e5e0c8751dca5cb45a28ddd4f9aa6db01d925
visual: fix caps leak

Fix leak of caps event and of caps objects when setting caps on sink and src
pads. Sync audiovisualizer class implementation to the one in gst-plugins-bad.
This commit matches c5ef1bee7318f057aa1f542d5a1474b75e85131a in that module.

https://bugzilla.gnome.org/show_bug.cgi?id=742875
ext/libvisual/gstaudiovisualizer.c