playbin: Make sure to ref_sink() any sinks before calling activate_sink()
authorSebastian Dröge <sebastian@centricular.com>
Mon, 7 Aug 2017 12:27:45 +0000 (15:27 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 7 Aug 2017 12:27:45 +0000 (15:27 +0300)
commitb4899a5a6575bd62786174d225a58c0f86499d13
tree0aeddb8c91ea6df3d2530811d5cab515c6d7f6ef
parentf996b056444164e72886451963649733a9ae013e
playbin: Make sure to ref_sink() any sinks before calling activate_sink()

It is forwarding messages to the playbin bus, thus forwarding messages
that contain a floating reference to the application. This generally
makes bindings unhappy, we must not leak floating references to them.
gst/playback/gstplaybin2.c