mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 13:01:05 +00:00
4ebec84f5e
Allows us to set all the crates in the main workspace file, so changing their versions or branch is much simpler and reduce the amount of noise in the diff Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450>
26 lines
741 B
Rust
26 lines
741 B
Rust
// 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(docsrs, feature(doc_cfg))]
|
|
#![allow(clippy::missing_safety_doc)]
|
|
|
|
pub use gst_gl;
|
|
pub use gstreamer_gl_egl_sys as ffi;
|
|
|
|
macro_rules! assert_initialized_main_thread {
|
|
() => {
|
|
if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
|
|
gst::assert_initialized();
|
|
}
|
|
};
|
|
}
|
|
|
|
mod auto;
|
|
pub use auto::*;
|
|
|
|
mod gl_display_egl;
|