check: Fix compilation with v1_16 feature enabled

This commit is contained in:
Sebastian Dröge 2019-05-28 04:46:41 +02:00
parent 37071c9d60
commit 1c1533d076

View file

@ -106,7 +106,6 @@ impl Harness {
api: glib::types::Type, api: glib::types::Type,
params: Option<&gst::StructureRef>, params: Option<&gst::StructureRef>,
) { ) {
let params = params.into();
unsafe { unsafe {
let params = params.map(|p| p.as_ptr()).unwrap_or(ptr::null_mut()); let params = params.map(|p| p.as_ptr()).unwrap_or(ptr::null_mut());
gst_check_sys::gst_harness_add_propose_allocation_meta( gst_check_sys::gst_harness_add_propose_allocation_meta(