playbin3: fix leaks of collection returned by message parse API
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 13 Jul 2016 14:02:25 +0000 (16:02 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 15 Jul 2016 15:43:07 +0000 (16:43 +0100)
commitc1d55f29a1a7a5de6e43c21d08991b305fedd788
tree08bcefe73cc60ce9b15d1349361158a810921333
parent657a9c23d68447aac4f44d81c7e1157d2d6dc732
playbin3: fix leaks of collection returned by message parse API

gst_message_parse_stream_collection() and
gst_message_parse_streams_selected() actually return a reffed
GstStreamCollection.

https://bugzilla.gnome.org/show_bug.cgi?id=768776
gst/playback/gstdecodebin3.c
gst/playback/gstplaybin3.c
tests/examples/decodebin_next/decodebin3.c
tests/examples/decodebin_next/playbin-test.c