forked from mirrors/gstreamer-rs
examples: Fix v1.10 feature build
GLib-rs macros are needed for this feature.
This commit is contained in:
parent
bef6d741d3
commit
98d0bc01ac
2 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
extern crate gstreamer as gst;
|
extern crate gstreamer as gst;
|
||||||
use gst::prelude::*;
|
use gst::prelude::*;
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
extern crate glib;
|
extern crate glib;
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
|
@ -19,6 +19,7 @@ use gst::prelude::*;
|
||||||
extern crate gstreamer_pbutils as gst_pbutils;
|
extern crate gstreamer_pbutils as gst_pbutils;
|
||||||
use gst_pbutils::prelude::*;
|
use gst_pbutils::prelude::*;
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
extern crate glib;
|
extern crate glib;
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
|
|
Loading…
Reference in a new issue