From 556b0197fc98682fa2142cedb4f9c15f1e870924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 1 Sep 2017 14:12:26 +0300 Subject: [PATCH] Conditionally use glib crate in player example --- examples/src/bin/player.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/src/bin/player.rs b/examples/src/bin/player.rs index cf5a0afe9..6540dffb0 100644 --- a/examples/src/bin/player.rs +++ b/examples/src/bin/player.rs @@ -5,6 +5,9 @@ use gst::prelude::*; #[cfg(feature = "gst-player")] extern crate gstreamer_player as gst_player; +#[cfg(feature = "gst-player")] +extern crate glib; + use std::env; pub mod utils;