mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 09:31:06 +00:00
Conditionally use glib crate in player example
This commit is contained in:
parent
4900fbe293
commit
556b0197fc
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