gst: Handle floating references consistently
authorSebastian Dröge <sebastian@centricular.com>
Mon, 15 May 2017 11:29:05 +0000 (14:29 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 17 May 2017 07:40:37 +0000 (10:40 +0300)
commit2e4c82d850981ac65b55a95922fda5f861bbbc57
treefb6595e7e0d016c16fc8dcbaa1be1a065c83786c
parent7c4d3a6c52a86acb022ee7201b1cd0dccb1b8c55
gst: Handle floating references consistently

If a function takes a floating reference parameter, it should also be
sinked in error cases. Otherwise the function behaves differently
between error and normal cases, which is impossible for bindings to
handle.

https://bugzilla.gnome.org/show_bug.cgi?id=747990
gst/gstbin.c
gst/gstelement.c
gst/gstghostpad.c
gst/gstregistry.c
gst/gstutils.c