mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-20 14:46:24 +00:00
fallbackswitch: Fix compilation after gstreamer API changes
This commit is contained in:
parent
3d24f1da22
commit
9349b86b27
1 changed files with 2 additions and 2 deletions
|
@ -549,12 +549,12 @@ impl<T: AggregatorImpl> AggregatorImplExt for T {
|
||||||
.expect("Missing parent function `update_src_caps`");
|
.expect("Missing parent function `update_src_caps`");
|
||||||
|
|
||||||
let mut out_caps = ptr::null_mut();
|
let mut out_caps = ptr::null_mut();
|
||||||
gst::FlowReturn::from_glib(f(
|
gst::FlowSuccess::try_from_glib(f(
|
||||||
aggregator.unsafe_cast_ref::<Aggregator>().to_glib_none().0,
|
aggregator.unsafe_cast_ref::<Aggregator>().to_glib_none().0,
|
||||||
caps.as_mut_ptr(),
|
caps.as_mut_ptr(),
|
||||||
&mut out_caps,
|
&mut out_caps,
|
||||||
))
|
))
|
||||||
.into_result_value(|| from_glib_full(out_caps))
|
.map(|_| from_glib_full(out_caps))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue