mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-23 01:51:06 +00:00
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,
|
params: P,
|
||||||
) {
|
) {
|
||||||
let params = params.into();
|
let params = params.into();
|
||||||
let params = params.map(|p| p.as_ptr()).unwrap_or(ptr::null_mut());
|
|
||||||
unsafe {
|
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);
|
ffi::gst_harness_add_propose_allocation_meta(self.0.as_ptr(), api.to_glib(), params);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue