tsdemux: fix taglist leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Apr 2015 08:13:35 +0000 (10:13 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 28 Apr 2015 13:58:03 +0000 (14:58 +0100)
commit94446498de2c49aa636cd1dffbc03c0bf4793eae
treeb8fc5234ae1fa6045e24a38693a79cdc814bdef2
parent365375a1def4d54dcf3dbc261ef2cb3486a744f6
tsdemux: fix taglist leak

If the stream which is about to be removed still has a ref on a tag list we
should drop it.

Fix a leak which was occasionally happening with the
validate.file.playback.change_state_intensive.tron_en_ge_aac_h264_ts scenario.

https://bugzilla.gnome.org/show_bug.cgi?id=748576
gst/mpegtsdemux/tsdemux.c