2020-11-25 19:48:20 +00:00
|
|
|
// Copyright (C) 2020 Sebastian Dröge <sebastian@centricular.com>
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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))]
|
2021-07-30 19:23:46 +00:00
|
|
|
#![allow(clippy::missing_safety_doc)]
|
2020-11-25 19:48:20 +00:00
|
|
|
|
|
|
|
pub use ffi;
|
2021-05-04 22:23:28 +00:00
|
|
|
pub use gst_gl;
|
2020-11-25 19:48:20 +00:00
|
|
|
|
|
|
|
macro_rules! assert_initialized_main_thread {
|
|
|
|
() => {
|
2023-01-05 14:40:15 +00:00
|
|
|
if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
|
|
|
|
gst::assert_initialized();
|
2020-11-25 19:48:20 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
mod auto;
|
|
|
|
pub use auto::*;
|
|
|
|
|
|
|
|
mod gl_display_egl;
|
|
|
|
pub use gl_display_egl::*;
|