From d0433a7b94d91ef725f2f32dbe15f7f62aedf3e1 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Sun, 13 Aug 2017 11:45:24 +0100 Subject: [PATCH] player: expose set_config() Fixes https://github.com/sdroege/gstreamer-rs/pull/25 --- gstreamer-player/src/player.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer-player/src/player.rs b/gstreamer-player/src/player.rs index 00bcbed46..9154b64a8 100644 --- a/gstreamer-player/src/player.rs +++ b/gstreamer-player/src/player.rs @@ -35,7 +35,7 @@ impl Player { } #[allow(dead_code)] - fn set_config(&self, config: gst::Structure) -> bool { + pub fn set_config(&self, config: gst::Structure) -> bool { unsafe { from_glib(ffi::gst_player_set_config( self.to_glib_none().0,