Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-05-05 10:34:02 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-05-05 10:34:02 +0300
commit9349b86b27fefe8e3afdbfc155f52d40be6f899d (patch)
tree2eef7206c88d4cb08748384c4841b582d20e69bf /utils
parent3d24f1da223b65031c4bba8d36beee518ec3878f (diff)
fallbackswitch: Fix compilation after gstreamer API changes
Diffstat (limited to 'utils')
-rw-r--r--utils/fallbackswitch/src/base/subclass/aggregator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/fallbackswitch/src/base/subclass/aggregator.rs b/utils/fallbackswitch/src/base/subclass/aggregator.rs
index bf8b522a2..8196b81d2 100644
--- a/utils/fallbackswitch/src/base/subclass/aggregator.rs
+++ b/utils/fallbackswitch/src/base/subclass/aggregator.rs
@@ -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))
}
}