gstreamer_gl_x11/
lib.rs

1// Copyright (C) 2020 Sebastian Dröge <sebastian@centricular.com>
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9#![cfg_attr(docsrs, feature(doc_cfg))]
10#![allow(clippy::missing_safety_doc)]
11#![allow(clippy::manual_c_str_literals)]
12
13pub use gst_gl;
14pub use gstreamer_gl_x11_sys as ffi;
15
16macro_rules! assert_initialized_main_thread {
17    () => {
18        if !gst::INITIALIZED.load(std::sync::atomic::Ordering::SeqCst) {
19            gst::assert_initialized();
20        }
21    };
22}
23
24#[allow(unused_imports)]
25mod auto;
26pub use auto::*;
27
28mod gl_display_x11;