mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 11:31:06 +00:00
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 {
|
||||
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();
|
||||
|
|
Loading…
Reference in a new issue