diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index 032bfcda9..48c5d87b0 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -714,6 +714,8 @@ mod tests { #[test] fn test_string_conversion() { + ::init().unwrap(); + let a = "Test, f1=(string)abc, f2=(uint)123;"; let s = Structure::from_string(&a).unwrap();