tsdemux: Fix several leaks
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 30 Mar 2012 17:19:12 +0000 (19:19 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 30 Mar 2012 17:20:17 +0000 (19:20 +0200)
commit881350f34cac858be52ce5b59e71ed7069bcb17a
tree104a162d7bcf71f4c581f81282cc6124bb4bb621
parentd84d98943af42ce645ee022207bcf04e747d2d4a
tsdemux: Fix several leaks

* dont' leak buffers when a stream is in discont state
* don't leak buffers when a program is removed/deactivated
* remove all programs when disposing
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/tsdemux.c