forked from mirrors/gstreamer-rs
Don't require Send for Structure::get()
Otherwise we won't be able to get references here.
This commit is contained in:
parent
9085474e37
commit
d430467ed5
1 changed files with 1 additions and 1 deletions
|
@ -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<T> {
|
||||
pub fn get<'a, T: FromValueOptional<'a>>(&'a self, name: &str) -> Option<T> {
|
||||
self.get_value(name).and_then(|v| v.get())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue