forked from mirrors/gstreamer-rs
Conditionally use glib crate in player example
This commit is contained in:
parent
be9f544d0a
commit
7dfab61390
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue