decodebin: fix event leak
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 6 Oct 2015 13:20:51 +0000 (15:20 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 25 Oct 2015 11:26:20 +0000 (11:26 +0000)
commitd9ebc67f0dd0a70681f8636494d138ce54e6dbdd
tree6667528fb26569b5d49d420578d3ca6fa351512e
parentcfb6d6e7b44fedddeb6aa6f0fdb1189541d3d035
decodebin: fix event leak

As stated in GST_PAD_PROBE_HANDLED's documentation, we are
supposed to unref the event before returning.

Fixes an event leak in the validate.hls.playback.play_15s.hls_bibbop
validate scenario.

https://bugzilla.gnome.org/show_bug.cgi?id=754459
gst/playback/gstdecodebin2.c