aggregator: always store or unref the buffer on the _chain function
authorThiago Santos <ts.santos@sisa.samsung.com>
Sat, 28 Jun 2014 12:34:05 +0000 (09:34 -0300)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:25 +0000 (15:10 +0000)
commit259a73a3dcf86a8b5543e0b500a97bfa337fb6fe
treec08107d7b974de53a1c07c8a20b8442add915521
parent109f7c937bdcc388a5476d7c95601576f0c54114
aggregator: always store or unref the buffer on the _chain function

Otherwise it leaks, and it is very common to go to flushing when the
pipeline is stopping, leaking a buffer.
libs/gst/base/gstaggregator.c