gstreamer-rs/gstreamer-controller/src/lib.rs

34 lines
701 B
Rust
Raw Permalink Normal View History

2020-12-15 10:53:31 +00:00
// Take a look at the license at the top of the repository in the LICENSE file.
#![cfg_attr(docsrs, feature(doc_cfg))]
2021-07-30 19:23:46 +00:00
#![allow(clippy::missing_safety_doc)]
#![doc = include_str!("../README.md")]
pub use glib;
pub use gst;
pub use gstreamer_controller_sys as ffi;
2020-06-09 01:06:49 +00:00
macro_rules! assert_initialized_main_thread {
() => {
if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
gst::assert_initialized();
2020-06-09 01:06:49 +00:00
}
};
}
macro_rules! skip_assert_initialized {
() => {};
}
mod auto;
mod control_point;
pub use crate::auto::*;
use crate::control_point::*;
2020-06-09 01:06:49 +00:00
pub mod prelude {
#[doc(hidden)]
pub use gst::prelude::*;
pub use crate::auto::traits::*;
2020-06-09 01:06:49 +00:00
}