gstreamer_controller/
lib.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3#![cfg_attr(docsrs, feature(doc_cfg))]
4#![allow(clippy::missing_safety_doc)]
5#![allow(clippy::manual_c_str_literals)]
6#![doc = include_str!("../README.md")]
7
8pub use glib;
9pub use gst;
10pub use gstreamer_controller_sys as ffi;
11
12macro_rules! assert_initialized_main_thread {
13    () => {
14        if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
15            gst::assert_initialized();
16        }
17    };
18}
19
20macro_rules! skip_assert_initialized {
21    () => {};
22}
23
24#[allow(unused_imports)]
25mod auto;
26mod control_point;
27pub use crate::auto::*;
28use crate::control_point::*;
29
30pub mod prelude {
31    #[doc(hidden)]
32    pub use gst::prelude::*;
33
34    pub use crate::auto::traits::*;
35}