mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
examples: Fix formatting
This commit is contained in:
parent
b89a285178
commit
08cac646be
1 changed files with 3 additions and 1 deletions
|
@ -77,7 +77,9 @@ fn set_window_handle(video_overlay: &gst_video::VideoOverlay, gdk_window: &gdk::
|
||||||
|
|
||||||
if display_type_name == "GdkQuartzDisplay" {
|
if display_type_name == "GdkQuartzDisplay" {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn gdk_quartz_window_get_nsview(window: *mut glib::gobject_ffi::GObject) -> *mut c_void;
|
pub fn gdk_quartz_window_get_nsview(
|
||||||
|
window: *mut glib::gobject_ffi::GObject,
|
||||||
|
) -> *mut c_void;
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is unsafe because the "window handle" we pass here is basically like a raw pointer.
|
// This is unsafe because the "window handle" we pass here is basically like a raw pointer.
|
||||||
|
|
Loading…
Reference in a new issue