Use gst_object_unref() instead. https://bugzilla.gnome.org/show_bug.cgi?id=796470
Attach a file by drag & drop or click to upload