mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2025-01-09 08:45:27 +00:00
Remove accidental leftover debug output
This commit is contained in:
parent
e026c2f652
commit
19e40a5e2c
1 changed files with 1 additions and 5 deletions
|
@ -449,14 +449,10 @@ impl<O: IsA<Pad>> PadExtManual for O {
|
||||||
let func_box: Box<
|
let func_box: Box<
|
||||||
Fn(&Pad, &Option<::Object>, ::Event) -> bool + Send + Sync + 'static,
|
Fn(&Pad, &Option<::Object>, ::Event) -> bool + Send + Sync + 'static,
|
||||||
> = Box::new(func);
|
> = Box::new(func);
|
||||||
let func_ptr = Box::into_raw(Box::new(func_box)) as gpointer;
|
|
||||||
|
|
||||||
println!("before {:?}", func_ptr);
|
|
||||||
|
|
||||||
ffi::gst_pad_set_event_function_full(
|
ffi::gst_pad_set_event_function_full(
|
||||||
self.to_glib_none().0,
|
self.to_glib_none().0,
|
||||||
Some(trampoline_event_function),
|
Some(trampoline_event_function),
|
||||||
func_ptr,
|
Box::into_raw(Box::new(func_box)) as gpointer,
|
||||||
Some(destroy_closure),
|
Some(destroy_closure),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue