forked from mirrors/gstreamer-rs
Fix harness compilation with v1_16 feature
This commit is contained in:
parent
7a0bb763a6
commit
1937294faf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue