// Copyright (C) 2020 Sebastian Dröge // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))] pub use ffi; pub use gst_gl; macro_rules! assert_initialized_main_thread { () => { if unsafe { gst::ffi::gst_is_initialized() } != glib::ffi::GTRUE { panic!("GStreamer has not been initialized. Call `gst::init` first."); } }; } #[allow(clippy::use_self)] mod auto; pub use auto::*; mod gl_display_wayland; pub use gl_display_wayland::*;