examples: Fix v1.10 feature build

GLib-rs macros are needed for this feature.
This commit is contained in:
Philippe Normand 2018-12-17 21:26:09 +00:00 committed by Sebastian Dröge
parent bef6d741d3
commit 98d0bc01ac
2 changed files with 2 additions and 0 deletions

View file

@ -33,6 +33,7 @@
extern crate gstreamer as gst;
use gst::prelude::*;
#[macro_use]
extern crate glib;
use std::env;

View file

@ -19,6 +19,7 @@ use gst::prelude::*;
extern crate gstreamer_pbutils as gst_pbutils;
use gst_pbutils::prelude::*;
#[macro_use]
extern crate glib;
use std::env;