Commit 1937294f authored by Sebastian Dröge's avatar Sebastian Dröge

Fix harness compilation with v1_16 feature

parent 7a0bb763
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment