mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 13:01:05 +00:00
Fix indentation
This commit is contained in:
parent
09db28bbf5
commit
32c5218e7d
3 changed files with 6 additions and 10 deletions
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,7 +61,10 @@ impl<O: IsA<Element>> 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(),
|
||||
))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue