forked from mirrors/gstreamer-rs
check: Fix compilation with v1_16 feature enabled
This commit is contained in:
parent
37071c9d60
commit
1c1533d076
1 changed files with 0 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue