forked from mirrors/gstreamer-rs
element: add feature gate for test_call_async
Fixes https://github.com/sdroege/gstreamer-rs/pull/92
This commit is contained in:
parent
11c974a55e
commit
93442e94dd
1 changed files with 2 additions and 0 deletions
|
@ -1089,6 +1089,7 @@ macro_rules! gst_element_info(
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
use prelude::*;
|
use prelude::*;
|
||||||
|
#[cfg(feature = "v1_10")]
|
||||||
use std::sync::mpsc::channel;
|
use std::sync::mpsc::channel;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -1122,6 +1123,7 @@ mod tests {
|
||||||
assert_eq!(pad_names, vec![String::from("src")]);
|
assert_eq!(pad_names, vec![String::from("src")]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "v1_10")]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_call_async() {
|
fn test_call_async() {
|
||||||
::init().unwrap();
|
::init().unwrap();
|
||||||
|
|
Loading…
Reference in a new issue