From 1937294fafe57766682653ceae20ffb0455e32bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 2 Nov 2018 13:58:51 +0200 Subject: [PATCH] Fix harness compilation with v1_16 feature --- gstreamer-check/src/harness.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-check/src/harness.rs b/gstreamer-check/src/harness.rs index 2fb348106..d9d1a9129 100644 --- a/gstreamer-check/src/harness.rs +++ b/gstreamer-check/src/harness.rs @@ -109,8 +109,8 @@ impl Harness { params: P, ) { let params = params.into(); - let params = params.map(|p| p.as_ptr()).unwrap_or(ptr::null_mut()); unsafe { + let params = params.map(|p| p.as_ptr()).unwrap_or(ptr::null_mut()); ffi::gst_harness_add_propose_allocation_meta(self.0.as_ptr(), api.to_glib(), params); } }