diff --git a/gstreamer-app/src/app_sink.rs b/gstreamer-app/src/app_sink.rs index ba131389b..092789d07 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 cbfaad82e..76010b39a 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 {