diff --git a/gstreamer-app/src/app_sink.rs b/gstreamer-app/src/app_sink.rs index 275f66ac0..1239f4110 100644 --- a/gstreamer-app/src/app_sink.rs +++ b/gstreamer-app/src/app_sink.rs @@ -79,7 +79,7 @@ unsafe extern "C" fn trampoline_new_sample( unsafe extern "C" fn destroy_callbacks(ptr: gpointer) { let _guard = CallbackGuard::new(); - Box::>::from_raw(ptr as *mut _); + Box::::from_raw(ptr as *mut _); } impl AppSink { diff --git a/gstreamer-app/src/app_src.rs b/gstreamer-app/src/app_src.rs index 9d23afa57..c04e0a9f7 100644 --- a/gstreamer-app/src/app_src.rs +++ b/gstreamer-app/src/app_src.rs @@ -80,7 +80,7 @@ unsafe extern "C" fn trampoline_seek_data( unsafe extern "C" fn destroy_callbacks(ptr: gpointer) { let _guard = CallbackGuard::new(); - Box::>::from_raw(ptr as *mut _); + Box::::from_raw(ptr as *mut _); } impl AppSrc {