gstreamer-rs/gstreamer-controller/src/lib.rs
2020-12-15 11:53:31 +01:00

30 lines
683 B
Rust

// Take a look at the license at the top of the repository in the LICENSE file.
#![cfg_attr(feature = "dox", feature(doc_cfg))]
pub use ffi;
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.");
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
#[allow(clippy::unreadable_literal)]
#[allow(clippy::too_many_arguments)]
#[allow(clippy::match_same_arms)]
mod auto;
mod control_point;
pub use crate::auto::*;
use crate::control_point::*;
pub mod prelude {
pub use crate::auto::traits::*;
}