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))]
|
|
|
|
|
|
|
|
pub use ffi;
|
|
|
|
|
|
|
|
macro_rules! assert_initialized_main_thread {
|
|
|
|
() => {
|
|
|
|
if unsafe { gst::ffi::gst_is_initialized() } != glib::ffi::GTRUE {
|
|
|
|
panic!("GStreamer has not been initialized. Call `gst::init` first.");
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2021-04-29 20:06:11 +00:00
|
|
|
#[allow(clippy::use_self)]
|
2020-11-25 19:48:20 +00:00
|
|
|
mod auto;
|
|
|
|
pub use auto::*;
|
|
|
|
|
|
|
|
mod gl_display_x11;
|
|
|
|
pub use gl_display_x11::*;
|