player: expose set_config()

Fixes https://github.com/sdroege/gstreamer-rs/pull/25
This commit is contained in:
Philippe Normand 2017-08-13 11:45:24 +01:00 committed by Sebastian Dröge
parent b392c82ba9
commit d0433a7b94

View file

@ -35,7 +35,7 @@ impl Player {
} }
#[allow(dead_code)] #[allow(dead_code)]
fn set_config(&self, config: gst::Structure) -> bool { pub fn set_config(&self, config: gst::Structure) -> bool {
unsafe { unsafe {
from_glib(ffi::gst_player_set_config( from_glib(ffi::gst_player_set_config(
self.to_glib_none().0, self.to_glib_none().0,