playsink: Don't leak audio/video filters due to floating references weirdness
authorSebastian Dröge <sebastian@centricular.com>
Fri, 25 Dec 2015 10:34:10 +0000 (11:34 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 25 Dec 2015 10:34:10 +0000 (11:34 +0100)
commit6a5739927010fb32b44c59b703f7890a16933b21
tree5854d80a281306d81781481e2106076b2ef9e833
parenta136ac0e2f9403dedeca268f7064957b8c61d4ea
playsink: Don't leak audio/video filters due to floating references weirdness

The filters' floating references are sinked during set_property() already,
which means that GstBin takes a new reference when adding the filter to it.
Get rid of the additional reference after adding the filter to the bin.
gst/playback/gstplaysink.c