element: add feature gate for test_call_async

Fixes https://github.com/sdroege/gstreamer-rs/pull/92
This commit is contained in:
François Laignel 2018-03-16 16:04:35 +01:00 committed by Sebastian Dröge
parent 11c974a55e
commit 93442e94dd

View file

@ -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();