device: Enforce that elements created by gst_device_create_element() are floating
authorSebastian Dröge <sebastian@centricular.com>
Thu, 12 Sep 2019 07:08:39 +0000 (10:08 +0300)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 12 Sep 2019 09:50:17 +0000 (09:50 +0000)
commit341ee451558cfcf82cce4c3de1116eed3112f0d5
treea8397b7ccf090b9cda86874039ffdad91858e810
parent1edcf747ee074e6ff3044a9909790771a634c47e
device: Enforce that elements created by gst_device_create_element() are floating

Bindings might have a hard time making sure that the reference is indeed
still floating after returning here.

See https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/444
gst/gstdevice.c