diff --git a/gstreamer/src/bus.rs b/gstreamer/src/bus.rs index 368098f11..907d57d52 100644 --- a/gstreamer/src/bus.rs +++ b/gstreamer/src/bus.rs @@ -122,13 +122,6 @@ impl Bus { } pub fn unset_sync_handler(&self) { - unsafe { - ffi::gst_bus_set_sync_handler( - self.to_glib_none().0, - None, - ptr::null_mut(), - None, - ) - } + unsafe { ffi::gst_bus_set_sync_handler(self.to_glib_none().0, None, ptr::null_mut(), None) } } } diff --git a/gstreamer/src/element.rs b/gstreamer/src/element.rs index c61b0afcb..04bcdebfa 100644 --- a/gstreamer/src/element.rs +++ b/gstreamer/src/element.rs @@ -61,7 +61,10 @@ impl> ElementExtManual for O { fn send_event(&self, event: Event) -> bool { unsafe { - from_glib(ffi::gst_element_send_event(self.to_glib_none().0, event.into_ptr())) + from_glib(ffi::gst_element_send_event( + self.to_glib_none().0, + event.into_ptr(), + )) } } } diff --git a/gstreamer/src/lib.rs b/gstreamer/src/lib.rs index 65f88b78e..7fe1fd5aa 100644 --- a/gstreamer/src/lib.rs +++ b/gstreamer/src/lib.rs @@ -81,7 +81,7 @@ mod ghost_pad; mod child_proxy; mod tag_setter; mod iterator; -pub use object::{Object, GstObjectExt}; +pub use object::{GstObjectExt, Object}; pub use element::ElementExtManual; pub use bin::BinExtManual; pub use pad::{PadExtManual, PadProbeData, PadProbeId, PadProbeInfo, PAD_PROBE_ID_INVALID};