diff --git a/gir-files/Gst-1.0.gir b/gir-files/Gst-1.0.gir index 0b7b93110..963d5f03e 100644 --- a/gir-files/Gst-1.0.gir +++ b/gir-files/Gst-1.0.gir @@ -10836,7 +10836,7 @@ aggregated by #GstDeviceMonitor objects. version="1.4"> Creates the element with all of the required parameters set to use this device. - + a new #GstElement configured to use this device diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index d435702ba..87f1933e3 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -57,7 +57,7 @@ pub trait DeviceExt: 'static { impl> DeviceExt for O { fn create_element(&self, name: Option<&str>) -> Option { unsafe { - from_glib_full(gst_sys::gst_device_create_element( + from_glib_none(gst_sys::gst_device_create_element( self.as_ref().to_glib_none().0, name.to_glib_none().0, ))