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:18:29 +0000 (11:18 +0000)
commit7d6b6b0313028074aa8adf1b3d7af77bb100fc66
tree9ea40f6d0f0dbb94be7179c6698edd126a0f78a1
parentb4afaee8c008642c2bddd89be62eed31db98cef7
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