2020-12-15 10:53:31 +00:00
|
|
|
// Take a look at the license at the top of the repository in the LICENSE file.
|
|
|
|
|
2023-05-04 05:55:48 +00:00
|
|
|
#![cfg_attr(docsrs, feature(doc_cfg))]
|
2021-07-30 19:23:46 +00:00
|
|
|
#![allow(clippy::missing_safety_doc)]
|
2021-07-30 16:03:12 +00:00
|
|
|
#![doc = include_str!("../README.md")]
|
2020-11-18 12:48:41 +00:00
|
|
|
|
2020-11-21 18:50:21 +00:00
|
|
|
pub use ffi;
|
2020-12-20 17:39:15 +00:00
|
|
|
pub use glib;
|
|
|
|
pub use gst;
|
2020-06-09 01:06:49 +00:00
|
|
|
|
|
|
|
macro_rules! assert_initialized_main_thread {
|
|
|
|
() => {
|
2022-06-27 07:28:28 +00:00
|
|
|
if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
|
2023-01-05 14:40:15 +00:00
|
|
|
gst::assert_initialized();
|
2020-06-09 01:06:49 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
macro_rules! skip_assert_initialized {
|
|
|
|
() => {};
|
|
|
|
}
|
|
|
|
|
|
|
|
mod auto;
|
|
|
|
mod control_point;
|
2020-11-21 18:50:21 +00:00
|
|
|
pub use crate::auto::*;
|
|
|
|
use crate::control_point::*;
|
2020-06-09 01:06:49 +00:00
|
|
|
|
|
|
|
pub mod prelude {
|
2020-12-20 17:39:15 +00:00
|
|
|
#[doc(hidden)]
|
|
|
|
pub use gst::prelude::*;
|
|
|
|
|
2020-11-21 18:50:21 +00:00
|
|
|
pub use crate::auto::traits::*;
|
2020-06-09 01:06:49 +00:00
|
|
|
}
|