mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-26 20:10:31 +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`");
|
||||
|
||||
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,
|
||||
caps.as_mut_ptr(),
|
||||
&mut out_caps,
|
||||
))
|
||||
.into_result_value(|| from_glib_full(out_caps))
|
||||
.map(|_| from_glib_full(out_caps))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue