decodebin3: fix stream leaks
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 14 Jul 2016 08:34:30 +0000 (10:34 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 18 Jul 2016 12:57:44 +0000 (13:57 +0100)
commitc1db195ba5b24d58158025473a632e3fe979c0cb
treed9480c328bc7b910e1a884b8ee384be500598903
parente2263673d1a4178a1ec6e5805f75f2f8fe96fa9a
decodebin3: fix stream leaks

MultiQueueSlot owns a ref on the active stream so it should release it
when being freed.

DecodebinInputStream owns ref on the active and pending stream so they
should be dropped when being freed.

https://bugzilla.gnome.org/show_bug.cgi?id=768811
gst/playback/gstdecodebin3-parse.c
gst/playback/gstdecodebin3.c