diff options
Diffstat (limited to 'gst/gstelementfactory.c')
-rw-r--r-- | gst/gstelementfactory.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gst/gstelementfactory.c b/gst/gstelementfactory.c index 3ccfc1420a..cf3b100774 100644 --- a/gst/gstelementfactory.c +++ b/gst/gstelementfactory.c @@ -386,12 +386,6 @@ gst_element_factory_create (GstElementFactory * factory, const gchar * name) /* This ref will never be dropped as the class is never destroyed */ GST_OBJECT_FLAG_SET (factory, GST_OBJECT_FLAG_MAY_BE_LEAKED); - /* Ensure that the reference is floating. Bindings might have a hard time - * making sure that the reference is indeed still floating after returning - * here */ - if (element) - g_object_force_floating ((GObject *) element); - GST_DEBUG ("created element \"%s\"", GST_OBJECT_NAME (factory)); return element; |