diff --git a/examples/src/bin/player.rs b/examples/src/bin/player.rs index ce9aec16f..03c68ca67 100644 --- a/examples/src/bin/player.rs +++ b/examples/src/bin/player.rs @@ -9,6 +9,7 @@ extern crate gstreamer_player as gst_player; extern crate glib; use std::env; +#[cfg(feature = "gst-player")] use std::sync::{Arc, Mutex}; pub mod utils;