diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index f9a95f3a6..865de18a0 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -289,7 +289,7 @@ impl StructureRef { unsafe { from_glib_full(ffi::gst_structure_to_string(&self.0)) } } - pub fn get<'a, T: FromValueOptional<'a> + Send>(&'a self, name: &str) -> Option { + pub fn get<'a, T: FromValueOptional<'a>>(&'a self, name: &str) -> Option { self.get_value(name).and_then(|v| v.get()) }