mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
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")]
|
#[cfg(feature = "gst-player")]
|
||||||
extern crate gstreamer_player as gst_player;
|
extern crate gstreamer_player as gst_player;
|
||||||
|
|
||||||
|
#[cfg(feature = "gst-player")]
|
||||||
|
extern crate glib;
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
||||||
pub mod utils;
|
pub mod utils;
|
||||||
|
|
Loading…
Reference in a new issue