diff --git a/gstreamer/src/element.rs b/gstreamer/src/element.rs index 18fffd301..c4f5d8c6c 100644 --- a/gstreamer/src/element.rs +++ b/gstreamer/src/element.rs @@ -1089,6 +1089,7 @@ macro_rules! gst_element_info( mod tests { use super::*; use prelude::*; + #[cfg(feature = "v1_10")] use std::sync::mpsc::channel; #[test] @@ -1122,6 +1123,7 @@ mod tests { assert_eq!(pad_names, vec![String::from("src")]); } + #[cfg(feature = "v1_10")] #[test] fn test_call_async() { ::init().unwrap();