diff --git a/gstreamer/src/meta.rs b/gstreamer/src/meta.rs index dc5d45cd4..cc7726837 100644 --- a/gstreamer/src/meta.rs +++ b/gstreamer/src/meta.rs @@ -939,7 +939,7 @@ impl CustomMeta { unsafe { ffi::gst_meta_register_custom( name.to_glib_none().0, - ptr::null_mut(), + [ptr::null()].as_mut_ptr(), None, ptr::null_mut(), None,