From 98d0bc01ac91c89449cf60dc830f2d69d78e620c Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Mon, 17 Dec 2018 21:26:09 +0000 Subject: [PATCH] examples: Fix v1.10 feature build GLib-rs macros are needed for this feature. --- examples/src/bin/decodebin.rs | 1 + examples/src/bin/encodebin.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/src/bin/decodebin.rs b/examples/src/bin/decodebin.rs index bbaa9a2f3..d6940e88d 100644 --- a/examples/src/bin/decodebin.rs +++ b/examples/src/bin/decodebin.rs @@ -33,6 +33,7 @@ extern crate gstreamer as gst; use gst::prelude::*; +#[macro_use] extern crate glib; use std::env; diff --git a/examples/src/bin/encodebin.rs b/examples/src/bin/encodebin.rs index f7a1a38b8..d3783a9b0 100644 --- a/examples/src/bin/encodebin.rs +++ b/examples/src/bin/encodebin.rs @@ -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;